Created
June 28, 2021 10:30
-
-
Save Arrow7000/b0858a92cfd87144bc7956a4deda8aec to your computer and use it in GitHub Desktop.
My .gitconfig
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
[user] | |
email = aron@adler.dev | |
name = Aron Adler | |
[push] | |
default = current | |
[difftool "sourcetree"] | |
cmd = '' \"$LOCAL\" \"$REMOTE\" | |
[mergetool "sourcetree"] | |
cmd = "'' " | |
trustExitCode = true | |
[alias] | |
st = status | |
fa = fetch --all | |
plf = pull --ff-only | |
p = push | |
pf = push --force-with-lease | |
done = "!git checkout master && git plf" | |
upd = fetch -u origin master:master # update master branch | |
ca = commit --amend | |
co = checkout | |
nb = checkout -b # make new branch | |
stash-staged = "!git stash --keep-index -u -m \"unstageds temporary\" && git stash push -u -m \"stageds only\" && git stash pop stash@{1}" | |
mff = merge --ff-only | |
[init] | |
defaultBranch = "master" | |
[core] | |
longpaths = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment