As the title says. I put the wrong value inside a clean up code and I wiped everything. I did not push any important work. I just want to cry but at least I can offer it to you.

Do not hesitate to push even if your project is in a broken state.

you are viewing a single comment's thread
view the rest of the comments
[–] 34 points 1 year ago (8 children)
IN CASE OF FIRE

1. git commit
2. git push
3. exit building
  • source
  • hideshow 8 child comments
  • [–] 30 points 1 year ago*

    git-fire

    "git-fire is a Git plugin that helps in the event of an emergency by switching to the repository's root directory, adding all current files, committing, and pushing commits and all stashes to a new branch (to prevent merge conflicts)."

  • source
  • parent
  • [–] 6 points 1 year ago (3 children)

    Except when everyone pushes to main at the same time and now you have conflicts.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 4 points 1 year ago

    They wouldn't push to main at the same time tho, they would push to the branches they're working on. Unless their organization is very badly run, and then it's probably already happened before just because it was Tuesday.

  • source
  • parent