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

Programmer Humor

19623 readers
1 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 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] go_go_gadget@lemmy.world 11 points 8 months ago (1 children)

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

[โ€“] thirteene@lemmy.world 5 points 8 months ago* (last edited 8 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`
}