Skip to content

Instantly share code, notes, and snippets.

@markarasev
Last active March 16, 2020 11:59
Show Gist options
  • Select an option

  • Save markarasev/4db93889eb72bd7ff87004b3a889abd0 to your computer and use it in GitHub Desktop.

Select an option

Save markarasev/4db93889eb72bd7ff87004b3a889abd0 to your computer and use it in GitHub Desktop.
# This is Git's per-user configuration file.
[user]
# Please adapt and uncomment the following lines:
name = Marc Karassev
email = markarasev@protonmail.com
[core]
editor = nano
[pull]
rebase = preserve
[push]
default = simple
followTags = true
[alias]
co = checkout
st = status
plog = log --pretty=oneline --graph --decorate
push-sf = push --force-with-lease
rebase-auto = rebase -i --autosquash
clean-branches-do = "! git fetch -p && for branch in `git branch -vv | grep ': gone]' | awk '{print $1}'`; do git branch -D $branch; done"
clean-branches-review = "! git fetch -p && git branch -vv | grep ': gone]' | awk '{print $1}'"
fixup = commit --fixup
amend = commit --amend
dead = diff HEAD
merge-nff = merge --no-ff
cp = cherry-pick
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment