Last active
December 17, 2018 11:38
-
-
Save Tymek/5dcc778f61791899df549529735448b6 to your computer and use it in GitHub Desktop.
My Git configuration
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] | |
a = add | |
aa = add . | |
tree = log --all --decorate --date=relative --date-order --graph --pretty=format:'\t%C(auto)%h %C(cyan)%ad%C(auto)%d %s %C(green)[%cn]' | |
br = branch | |
co = checkout | |
s = stash | |
sh = stash | |
stash = stash pop | |
st = status | |
ct = commit | |
cn = commit -n | |
cm = commit -m | |
cmn = commit -n -m | |
cnm = commit -n -m | |
ca = commit --amend | |
can = commit -n --amend --no-edit | |
f = fetch | |
pu = push | |
pun = push --no-verify | |
punu = push --no-verify -u | |
puf = push --force | |
puff = push --force --no-verify | |
pl = pull | |
plf = pull --force | |
me = merge | |
meh = merge origin/master | |
rs = reset | |
ri = rebase -i | |
rondo = rebase --onto | |
rybosom = rebase --onto origin/master | |
rohan = reset --hard origin/master | |
t = log --all --decorate --date=relative --graph --pretty=format:'\t%C(auto)%h %C(cyan)%ad%C(auto)%d %s %C(green)[%cn]' | |
[core] | |
excludesfile = ~/.gitignore | |
editor = code --wait | |
[push] | |
default = current | |
[diff] | |
tool = default-difftool | |
[difftool "default-difftool"] | |
cmd = code --wait --diff $LOCAL $REMOTE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment