Jump to content






Some useful git command over hercules

Posted by mrlongshen, 22 December 2016 · 129 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..  :excl:




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

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

 

I believe it will duplicate

March 2017

S M T W T F S
      1234
567891011
12131415161718
19202122232425
262728 29 3031