Why is the wrong version always the one that is posted.
The (in my eyes) correct (and iirc original) version is:
Git commit
Git push
Get out*
*as someone pointed out (and I remember it as well, but thought I rembered it wrong and corrected it, shame on me in this context) the last point may be originally "git out"
I remember creating an alias for “git out” which worked like teamware or meecurial’s “out” (outgoing) command to show you what you would be pushing to a branch.
Here at Company Inc, we continue to send our thoughts and prayers to the 38 interns who perished in the office fire of '07. Sixteen years later, we still mourn the loss caused by this unpredictable, unpreventable, and unlitigatable accident. We hope that, in time, the grieving families of those interns are eventually able to move on with both their hearts and their loved ones' funeral expense debts.
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.
Counterpoint: Virtualized environment/remote desktop. The real computer is in a data center hundreds of kilometers away with world class fire suppression systems.
Counter counterpoint: If you're virtualized you might be working from home, in which case, that's rough, hope they manage to restore your house.
With a laggy desktop experience i also can't really configure how i want? No thank you. It's bad enough i have to use Windows for software development instead of letting me install Linux
I like it because I don't have any of the company's shit on my own machine. I absolutely don't trust them not to spy on my personal computer use if they had access to it. With remote desktop I close it at the end of the work say and it has no more access to my computer than I have access to their critical systems.
In my case, their shit that we're required to use don't even support Linux so if it wasn't for virtualized environment I'd had to install Windows on my own machine.
This is a lawsuit waiting to happen. Anyway any of you ever heard of ACID? Why aren't our undo buffers durable and integrated with version control? Squash and forget the individual keystrokes as soon as an actual commit is made.
If the flames are nearby I would be so reckless and execute git push --force.
I don't want to die for a merge conflict.
But maybe then the team will burn me later.
That doesnt sound like a good reason. What other reasons could you possibly have to do copypasta backups over what you can at least use as a diff based backup letting you still access any old version you want
I just find frequent full backups give me more control and less surprises when I find out my code did not sync/commit or some other issue. Done it for 3 years and it has been very worthwhile. Saved my project from a loss so many times now.