Files
git/Documentation
Daniels Umanovskis 0ecb1fc726 branch: introduce --show-current display option
When called with --show-current, git branch will print the current
branch name and terminate. Only the actual name gets printed,
without refs/heads. In detached HEAD state, nothing is output.

Intended both for scripting and interactive/informative use.
Unlike git branch --list, no filtering is needed to just get the
branch name.

Signed-off-by: Daniels Umanovskis <daniels@umanovskis.se>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2018-10-26 10:35:00 +09:00
..
2018-10-10 12:38:03 +09:00
2018-10-10 12:37:16 +09:00
2018-06-25 13:22:36 -07:00
2018-05-23 14:38:22 +09:00
2018-06-27 10:29:10 -07:00
2018-08-01 13:37:18 -07:00
2016-08-11 14:35:42 -07:00
2018-09-17 13:53:55 -07:00
2017-06-27 10:35:49 -07:00
2018-04-18 12:49:26 +09:00