Skip to content

Instantly share code, notes, and snippets.

View kryten87's full-sized avatar

Dave Thomas kryten87

  • Southern California, USA
View GitHub Profile
@kryten87
kryten87 / .bash_alias
Last active May 3, 2018 15:43
A bash function to build a path, complete with `.gitkeep` files
# paste this into your shell alias file
#
# Usage:
# mkfolder one/two/three/four
#
# This will produce a directory tree that looks like this:
#
# |-- one
# | |-- .gitkeep
# | `-- two
@kryten87
kryten87 / .bash_alias
Last active May 3, 2018 21:24
A simple bash function which shows files changes since a specific commit or branch
# paste this into your shell alias file
#
# Usage:
# gitchgs # show all files changed from develop branch
#
# gitchgs a1b2c3d4 # show all files changed since commit a1b2c3d4
#
# gitchgs some-branch # show all files changed between branch some-branch and HEAD
#
gitchgs () {