Quantcast
Channel: efexare.com
Viewing all articles
Browse latest Browse all 10

how to get git branch & commit names.

$
0
0

how to get git branch & commit names.

$ git name-rev –name-only HEAD
master

$ git log –pretty=format:’%h’ -n 1
7709acd


Viewing all articles
Browse latest Browse all 10

Trending Articles