dotfiles/bin/archive_git.sh
2017-02-15 12:23:57 -05:00

8 lines
125 B
Bash
Executable File

#!/bin/bash
git checkout $1
git tag archive/$1 $1
git push origin --tags
git checkout -
git branch -D $1
git push origin :$1