Add git reset to create-branch.sh

This commit is contained in:
Alpyne 2020-07-21 21:25:08 -07:00
parent 0a7f8ef6d0
commit f3183328f2
1 changed files with 17 additions and 16 deletions

View File

@ -6,6 +6,7 @@
echo "Creating branch '$1'"
git branch -D $1 || true
git checkout $2 $1
git reset
echo "Committing changes..."
git add src