945
In case of fire (lemmy.world)
you are viewing a single comment's thread
view the rest of the comments
[-] PrettyFlyForAFatGuy@lemmy.ml 47 points 2 years ago* (last edited 2 years ago)

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

[-] flashgnash@lemm.ee 10 points 2 years ago

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

[-] icedterminal@lemmy.world 7 points 2 years ago

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

[-] flashgnash@lemm.ee 8 points 2 years ago

Ohh I see so you just run git fire?

[-] PrettyFlyForAFatGuy@lemmy.ml 6 points 2 years ago

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

[-] flashgnash@lemm.ee 5 points 2 years ago

Oh bash alias right

this post was submitted on 25 Nov 2023
945 points (100.0% liked)

Programmer Humor

37567 readers
1293 users here now

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

Rules:

founded 6 years ago
MODERATORS