Skip to content

Instantly share code, notes, and snippets.

@djhojd
Last active August 7, 2020 17:17
Show Gist options
  • Save djhojd/7f26624e81773dfcba0f51ebc99b6e82 to your computer and use it in GitHub Desktop.
Save djhojd/7f26624e81773dfcba0f51ebc99b6e82 to your computer and use it in GitHub Desktop.
[alias]
co = checkout
ci = commit
st = status
br = branch
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
git config --global alias.co checkout
git config --global alias.ci commit
git config --global alias.st status
git config --global alias.br branch
git config --global alias.hist "log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment