Skip to content

Instantly share code, notes, and snippets.

@Arrow7000
Last active April 16, 2025 11:23
Show Gist options
  • Save Arrow7000/b0858a92cfd87144bc7956a4deda8aec to your computer and use it in GitHub Desktop.
Save Arrow7000/b0858a92cfd87144bc7956a4deda8aec to your computer and use it in GitHub Desktop.
My .gitconfig
[branch]
autoSetupRebase = always
[merge]
defaultToUpstream = true
log = true
[pull]
rebase = true
[push]
default = upstream
autoSetupRemote = true
[user]
name = Aron Adler
email = [email protected]
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[alias]
st = status
fa = fetch --all
plf = pull --ff-only
p = push
pf = push --force-with-lease
done = "!git checkout develop && git plf"
upd = fetch -u origin develop:develop # updates develop branch
fapd = "!git fa && git upd"
fapl = "!git fa && git plf"
red = rebase develop # rebases current branch onto develop
updt = fetch -u origin test-release:test-release
updm = fetch -u origin master:master
ca = commit --amend
co = checkout
cod = checkout develop
nb = checkout -b
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
[rerere]
enabled = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment