Skip to content

Instantly share code, notes, and snippets.

@djk29a
djk29a / gittricks.sh
Last active March 3, 2017 17:39
git tricks
# get all files modified in a branch
git diff --name-only <notMainDev> $(git merge-base <notMainDev> <mainDev>)
# shorter alternative for git versions... ?+
git whatchanged --name-only --pretty="" origin..HEAD

Keybase proof

I hereby claim:

  • I am djk29a on github.
  • I am djk29a (https://keybase.io/djk29a) on keybase.
  • I have a public key ASCQLM9VXCy9BpHeqxj2zEb_VtmPOBbFS3lMYT-D1wgQdwo

To claim this, I am signing this object: