this post was submitted on 03 Mar 2024
1090 points (97.8% liked)

Programmer Humor

19817 readers
562 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] go_go_gadget@lemmy.world 11 points 9 months ago (1 children)

Woah look at mr. fancy pants with his git push arguments.

[โ€“] thirteene@lemmy.world 5 points 9 months ago* (last edited 9 months ago)

I use this in my bash profile in case anyone else finds it helpful. Usage is:

gao fixing a typo

function gao() {
    git add .
    git commit -a -m "$*"
    git push origin `git rev-parse --abbrev-ref HEAD`
}