this post was submitted on 03 Mar 2024
1032 points (98.0% liked)

Programmer Humor

19813 readers
336 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 11 points 9 months ago (1 children)

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

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