Jump to content

how to revert commits?


Guest xuke771

Recommended Posts

Hi guys..I am learning to use GIT manage my repo..but i have a question: How to revert commits?

I means how to revert commits which is't the last commits? for example,i commit for 3 commits,it is A Band C,now i only want to revert A,but B and C remain contains in my work branch,how to do it?:o

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use