Skip to content

Instantly share code, notes, and snippets.

@daniloab
Created March 25, 2022 14:43
Show Gist options
  • Save daniloab/3c95346373f67b218f1273a502680c27 to your computer and use it in GitHub Desktop.
Save daniloab/3c95346373f67b218f1273a502680c27 to your computer and use it in GitHub Desktop.
## git aliases
co = checkout
st = status
cob = checkout -b
cim = commit -m
alias = ! git config --get-regexp ^alias\. | sed -e s/^alias\.// -e s/\ /\ =\ /
pom = pull origin master
poma = pull origin main
com = checkout master
coma = checkout main
po = pull
pso = push
cpb = branch
## terminal
alias gpcf="gh pr create --fill"
@noghartt
Copy link

lg = log --pretty=format:'%Cred%h%Creset %C(bold)%cr%Creset %Cgreen<%an>%Creset %s' --max-count=30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment