Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
my thesis advisor shared this alias with me
alias gl="git log --pretty=format:'%Cred%h %Cgreen%ad %Cblue%aN %Creset%s' --date=iso --graph --branches"
It's the shit! Here are mine which I use daily!
alias gall="git add --all"
alias ga="git add"
alias gs="git status"
alias gb="git branch -a"
alias gco="git checkout"
alias gc="git commit"
alias gp="git push"
hope it helps! -
eeee31506y@polaroidkidd
Nice ones. I use Git's own alias system. Some of mine (I'm not sure the syntax is entirely correct, I'm writing it by heart):
git fp = git fetch --prune
git aa = git add .
git ds = git diff --staged
git rh = git reset HEAD
git l1 = git log -1
git lo = git log --oneline -
lendkhoa1556yMy favorite one (=
# commit & push pending changes to current
# branch and quote all args as message
function lgit() {
git add .
git commit -a -m "$1"
git push origin "$(git symbolic-ref HEAD 2>/dev/null)"
}
ex. lgit "Add foo" -
@millido Light side? But I use dark themes to protect my eyes and for personal preference (and still working grave yard shift) -- So which side is it really? 🤔 😁
And I guess the real question is where are the cookies? 🍪🍪🍪
Related Rants
-
gkonings5Whenever you're feeling like a fraud and you think you're not good enough.
-
sadProgrammer14Im one of the people who got laid off due to covid19. I was hoping to find work at the same salary my previous...
-
kurtr2Impostor Syndrome at it's finest. Any experienced developer knows writing good programs has very little to do...
Learning git (command line) finally
rant
git init
made me do it
imposter syndrome