package
0.0.2
Repository: https://github.com/avnovoselov/snippets.git
Documentation: pkg.go.dev

# Functions

IsRepository Execute command: /> git --git-dir <path> rev-parse --is-inside-work-tree and check output equals "true".
No description provided by the author
RemoveLocalBranchesWithoutRemote Execute command: /> git fetch -p && for branch in $(git for-each-ref --format '%(refname) %(upstream:track)' refs/heads | awk '$2 == "[gone]" {sub("refs/heads/", "", $1); print $1}'); do git branch -D $branch; done\n.