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

Programmer Humor

19564 readers
1165 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
[โ€“] [email protected] 11 points 8 months ago (1 children)

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

[โ€“] [email protected] 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`
}