Jump to content
  • 0
Sign in to follow this  
daim

Git repo version

Question

Hi there,

 

Im very new with git. I would like to know, how do we know that our current version of repo and current version of hercules repo.

 

thanks

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

 

 

 

 

git rev-parse HEAD

 

 

got it, but how do i know that what version currently in HERCULES master version?

 

 

 
git show-ref refs/remotes/origin/master
Replace the word 'origin' with whatever you named your remote. Typically origin is the default / best practice naming convention for the remote repo.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.