Skip to content

What should I do with a commit on restricted master branch

MarkusBerroth edited this page Jun 11, 2018 · 4 revisions

If you need the file afterwards:

  1. git checkout <branch>
  2. git merge master
  3. git checkout master
  4. git reset <hash from last global commit>
  5. git checkout
  6. never work on master
Clone this wiki locally