When using VCS (I use Mercurial and Git on Linux, Bash prompt), is there a way to show the current head or tag in the directory?
More than once I shot in the foot, working in one head, thinking that I was in another, for example, by pressing v0.3 for testing, when they need v.02, or fixing errors in dev , then they need to be fixed in prod or vice versa .
git version-control dvcs mercurial command-prompt
cc young
source share