delorie.com/archives/browse.cgi | search |
> CURRENT_VERSION := $(shell git describe --abbrev=4 --dirty --always --tags) > CURRENT_BRANCH := $(shell git branch|cut -f 2- -d ' ') That wouldn't work for me... dj AT envy pts/16 ~/geda/pcb-git/pcb $ git branch help * master Results in ' help\nmaster'
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |