Skip to content

Instantly share code, notes, and snippets.

View RomanSerikov's full-sized avatar
🍒
cherry-pick

Roman RomanSerikov

🍒
cherry-pick
View GitHub Profile
@RomanSerikov
RomanSerikov / .bash_profile
Created February 11, 2018 23:23
bash profile
export PATH=/usr/local/bin:$PATH
[[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
# Git status bash prompt
#
# In addition to printing the current working directory, this prompt will
@RomanSerikov
RomanSerikov / git-tag-delete-local-and-remote.sh
Last active June 4, 2021 16:38 — forked from mobilemind/git-tag-delete-local-and-remote.sh
how to delete a git tag locally and remote
# 1. delete local tag '12345'
git tag -d 12345
# 2. delete remote tag '12345' (eg, GitHub version too)
git push origin :refs/tags/12345
# 3. alternative approach
git push --delete origin tagName
git tag -d tagName
# 4. delete many tags