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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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