Skip to content

Instantly share code, notes, and snippets.

@manojkarthick
Last active July 21, 2020 10:13
Show Gist options
  • Save manojkarthick/408fe28f49f762c40cb255a612cdd9de to your computer and use it in GitHub Desktop.
Save manojkarthick/408fe28f49f762c40cb255a612cdd9de to your computer and use it in GitHub Desktop.
Git configuration
[pull]
rebase = true
[user]
name = Manoj Karthick Selva Kumar
email = email@example.com
[alias]
unstage = reset HEAD --
co = checkout
br = branch
ci = commit
st = status
ui = pull upstream integration
um = pull upstream master
undo = reset --soft HEAD^
merged = branch --merged
cm = commit -m
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
dd = diff --check --dirstat --find-copies --find-renames --histogram --color
sl = stash list --pretty=format:\"%C(red)%h%C(reset) - %C(dim yellow)(%C(bold magenta)%gd%C(dim yellow))%C(reset) %<(70,trunc)%s %C(green)(%cr) %C(bold blue)<%an>%C(reset)\"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment