SourceTree fallback revoked Commit (submitted)

In project development, we will inevitably be wrong to submit up some code, submitted wrong we can use revoked,
Select "version before submitting."

Right-click on "reset the current branch to submit"

Select the required fallback mode

Three modes of meaning:

1. fall back to the staging area

 2. not fall back to the staging area

 3. Direct the documents submitted reset (best not to use)

  

I have here is the first choice

Then click on the pull

 

After pulling, an unnecessary version may be discarded

Note: If you submit before, have not pulled the code, this time have to pay attention, and should be pulled after the completion of re-commit. Otherwise, after the above operation, the code will be submitted back to the others to go back! ! !

Note: If you submit before, have not pulled the code, this time have to pay attention, and should be pulled after the completion of re-commit. Otherwise, after the above operation, the code will be submitted back to the others to go back! ! !

Note: If you submit before, have not pulled the code, this time have to pay attention, and should be pulled after the completion of re-commit. Otherwise, after the above operation, the code will be submitted back to the others to go back! ! !

 

Guess you like

Origin www.cnblogs.com/chen1997/p/11057910.html