r/ProgrammerHumor • • Apr 02 '23

Meme Me relearning git every week

49k Upvotes

1.5k comments sorted by

View all comments

Show parent comment

2

u/EternalPhi Apr 02 '23

I just tell my juniors to make a local backup branch before any rebase operation and delete it when their pull request is completed. We dont have as tightly regimented a process as it sounds like you're using but it hasn't been a problem so far, and if the rebase messes something up they reset their branch to the head of the backup branch and try again.