Skip to content

Instantly share code, notes, and snippets.

@apatten
Created June 7, 2024 16:30
Show Gist options
  • Save apatten/b29ba0dc51dc6f73a919b1e1916db41f to your computer and use it in GitHub Desktop.
Save apatten/b29ba0dc51dc6f73a919b1e1916db41f to your computer and use it in GitHub Desktop.
[alias]
br = branch
brd = br --list 'defect-*'
brf = br --list 'feature-*'
co = checkout
fe = fetch -p
lg = log --no-merges --pretty=format:'%h - %s (%cr) <%an>'
st = status -sb
up = push -u origin HEAD
clear = reset HEAD --hard
soft = reset HEAD^
temp = commit -m "WIP" -a
wip = commit -m "WIP" -a
prune = remote prune origin
brc = !sh git-colorbranch.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment