Johannes Sixt <[email protected]> writes:

> Try
>
>   branchName=$(git rev-parse --abbrev-ref HEAD)

Hmm, interesting.

    $ git checkout --orphan notyet
    $ git rev-parse --abbrev-ref HEAD
    $ git symbolic-ref --short HEAD

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to