I’m looking for a git command like this:
git show-branch-value refs/heads/master
cf574d699a8bd67fc0b851cda3452c4d18c4223540a
What I want it to do is show the value of the selected branch.
Is there such a command?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use:
This works for anything (branches, tags, SHAs).