
Some useful git command over hercules
Posted by mrlongshen,
22 December 2016
·
859 views
obtain upgrade downgrade revision
Q: How to obtain hercules in linux ?
A: Run this is your terminal git clone https://github.com/H...WS/Hercules.git ~/Hercules
Q: How to update to the latest hercules in your current hercules ?
A: Type git pull
Q: How to know revision we running ?
A: Type git rev-parse HEAD in your hercules folder
Q: How to downgrade to selected version ?
A: Type git checkout <branch or commitid>

Will update more later..
A: Run this is your terminal git clone https://github.com/H...WS/Hercules.git ~/Hercules
Q: How to update to the latest hercules in your current hercules ?
A: Type git pull
Q: How to know revision we running ?
A: Type git rev-parse HEAD in your hercules folder
Q: How to downgrade to selected version ?
A: Type git checkout <branch or commitid>

Will update more later..

what will happen to my edited src if I use git pull?