
18 Aug
2014
18 Aug
'14
6:54 p.m.
On Aug 18, 2014, at 6:16 AM, Antony Polukhin
There are various tools around for making this kind of stuff easier, e.g., I have this in my .gitconfig for *local* hiding:
[alias] hide = "!f() { git update-ref refs/hidden/$1 $1 && git branch -D $1; }; f" unhide = "!f() { git branch $1 && git update-ref $1 refs/hidden/$1; }; f" hidden = "!f() { git show-ref | grep hidden; }; f"
The last one will erroneously identify e.g. refs/heads/obfuscate-hidden-entities as a hidden branch. Try `git show-ref | grep " refs/hidden"` Josh