Notes, code snippets, how to for Git CLI.
git branch | grep -v "master" | xargs git branch -D
Get identifiable info for a commit.
- Abbreviated commit hash by tag:
git show-ref v1.0.0 --abbrev --hash
--> `e854382
Notes, code snippets, how to for Git CLI.
git branch | grep -v "master" | xargs git branch -D
Get identifiable info for a commit.
git show-ref v1.0.0 --abbrev --hash
--> `e854382