Skip to content

Instantly share code, notes, and snippets.

@ronokdev
Created October 29, 2021 14:42
Show Gist options
  • Save ronokdev/4ef56050a365082ecd3f092e39b860d7 to your computer and use it in GitHub Desktop.
Save ronokdev/4ef56050a365082ecd3f092e39b860d7 to your computer and use it in GitHub Desktop.
Code For adding Git Alias
[alias]
co = checkout
st = status
cob = checkout -b
logg = log --all --decorate --oneline --graph --stat
l = log --decorate --oneline --pretty=format:\" %cn committed %h on %cd : %s\"
le = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)(%ci) %C(bold blue)<%an>%Creset'
ac = !git add -A && git commit
ca = commit --amend --no-edit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment