DEV Community

Discussion on: GitHub Alias FTW!

Collapse
 
negoziator profile image
Lars Christian Schou

Here's my list. I might take some of yours as well 😀

One I really appreciate is git ul
Use that everytime I create a new branch and want to upstream it.

[alias]
st = status
ci = commit
cm = commit -m
co = checkout
cp = cherry-pick
br = branch
pr = pull --rebase
develop = checkout develop
master = checkout master
last = log -1 HEAD
unstage = reset HEAD --
staged = diff --cached
prp = !git pull --rebase && git push
ul = push -u origin HEAD
loll = log --graph --decorate --pretty=oneline

Collapse
 
netohog profile image
Neto Hog

Thanks for sharing, Lars!

Your 'git ul' just entered my list of aliases 😀