current ref には *
がついてしまうので format を指定する。
git branch --contains=HEAD --format='%(refname:short)'
More than 5 years have passed since last update.
current ref には *
がついてしまうので format を指定する。
git branch --contains=HEAD --format='%(refname:short)'
Register as a new user and use Qiita more conveniently