this post was submitted on 25 Nov 2023
925 points (97.2% liked)

Programmer Humor

32588 readers
915 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 47 points 1 year ago* (last edited 1 year ago) (2 children)

i read a reddit post years ago where a someone wrote a script that iterates through all the projects in their dev folder, for each project creating a new branch, committing and pushing.

they then aliased it to "fire" or "panic" or something like that.

not a bad idea really

[–] [email protected] 10 points 1 year ago (1 children)

As in one they'd manually run if there was a fire?

[–] [email protected] 7 points 1 year ago (1 children)

Exactly. The alias just points to the script which is executed.

[–] [email protected] 8 points 1 year ago (1 children)

Ohh I see so you just run git fire?

[–] [email protected] 6 points 1 year ago (1 children)

if its aliased you should be able to just run "fire" and it does the rest

[–] [email protected] 5 points 1 year ago

Oh bash alias right