Skip to content

Instantly share code, notes, and snippets.

@phouverneyuff
Created May 27, 2019 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phouverneyuff/d949c484bbbf937ae914af6b533df9ad to your computer and use it in GitHub Desktop.
Save phouverneyuff/d949c484bbbf937ae914af6b533df9ad to your computer and use it in GitHub Desktop.
emulate sh -c '. ~/.profile'
#emulate sh -c '. /etc/profile'
function gitDeleteTagLocalAndRemote(){ #delete tag local and from remote
git push --delete "$1" "$2"
git tag -d $2
echo "tag $2 delete from remote $1 and local"
}
alias gtdo="gitDeleteTagLocalAndRemote"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment