Skip to content

Instantly share code, notes, and snippets.

@spektraldevelopment
Last active July 6, 2023 19:36
Show Gist options
  • Save spektraldevelopment/ff4b510d692ce0696059ded2379a00d6 to your computer and use it in GitHub Desktop.
Save spektraldevelopment/ff4b510d692ce0696059ded2379a00d6 to your computer and use it in GitHub Desktop.
GIT: config
# This is Git's per-user configuration file.
[user]
# Please adapt and uncomment the following lines:
# name = spektraldevelopment
# email = [email protected]
[user]
email = [email protected]
[credential]
helper = osxkeychain
[alias]
co = !git checkout $1 && git pull && :
br = branch
ci = commit
po = push origin
mo = !git merge origin/$1 && :
chs = !git checkout $1 && git status && :
st = status
nb = !git branch $1 && git checkout $1 && git push origin $1 && :
dl = !git branch -D $1 && :
dr = !git push origin --delete $1 && :
fr = !git fetch --all -p && git rebase origin/$1 && :
fp = !git fetch --all -p && git pull && :
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment