Added Git Allias

This commit is contained in:
Jyotirmoy Bandyopadhayaya 2022-07-03 13:11:37 +05:30
parent a5c73b14d7
commit a806ab4815
1 changed files with 9 additions and 0 deletions

View File

@ -5,3 +5,12 @@
program = gpg2
[init]
defaultBranch = main
[alias]
s = status
co = checkout
ac = !git add -A && git commit -m
undo = reset HEAD~1 --mixed
res = !git reset --hard
done = !git push origin HEAD
lg = !git log --pretty=format:\"%C(magenta)%h%Creset -%C(red)%d%Creset %s %C(dim green)(%cr) [%an]\" --abbrev-commit -30A
del = branch -D