Hmm...depends. Yes, the git hash will be the same if you're on the same version. How manual do you want it to be? "git status" will show you the status but isn't manual.

You can "git log | head -1' for the commit hash, if that's what you want. For example:


        git log | head -1
        commit bfbe91980accf14820fddf1167351fd6dffc6a14



On 02/10/16 18:37, Suu wrote:
Before I build/compile a git branch, I would like to know whether it has
changed since the last time I built it.
If no change, I won't bother to build.

in Subversion, it's a "revision number" that identifies the whole set of
source code at the time. If you commit another set of changes to the
branch, you get a new "revision number"

What is its equivalent in GIT? (commit SHA-1 number?)

How do I get that value? (git log -p 1?)

--
You received this message because you are subscribed to the Google
Groups "Git for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to git-users+unsubscr...@googlegroups.com
<mailto:git-users+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Git for 
human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to