Skip to content

Instantly share code, notes, and snippets.

@lukehedger
Last active January 7, 2016 12:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukehedger/1205cbf929386f817aa0 to your computer and use it in GitHub Desktop.
Save lukehedger/1205cbf929386f817aa0 to your computer and use it in GitHub Desktop.
Git cmd aliases
# open global git config
$ atom ~/.gitconfig
[alias]
today = !git log --since=midnight --author=\"$(git config user.name)\" --oneline
yday = !git log --since=day.before.yesterday.midnight --until=midnight --author=\"$(git config user.name)\" --oneline
co = !git checkout
pu = !git push -u
ci = !git commit -am
@lukehedger
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment