Created
February 18, 2022 18:09
-
-
Save nicuveo/70eab638933e118def2ccdf79fc132f9 to your computer and use it in GitHub Desktop.
Git config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
st = status | |
ci = commit | |
co = checkout | |
br = branch | |
ff = merge --ff-only | |
fa = fetch --all | |
rh = reset --hard | |
cp = cherry-pick | |
d = diff --color | |
sd = diff --color --staged | |
modified = diff --name-only --diff-filter=M | |
conflict = diff --name-only --diff-filter=U | |
pr = pull --rebase | |
lg = log --graph --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(bold white)%an%C(reset)%C(bold yellow)%d%C(reset)' --abbrev-commit --date=relative | |
lga = log --graph --all --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(bold white)%an%C(reset)%C(bold yellow)%d%C(reset)' --abbrev-commit --date=relative | |
pst = status --porcelain | |
amend = commit --amend | |
shove = push --force-with-lease | |
yolo = push -f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment