Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
git - created tagged version with compiled files
# create and switch to new branch "tag-branch"
git checkout -b tag-branch
# add compiled files
git add -f css/style.min.css
git add -f js/javascript.min.js
# commit with compiled files
git commit -m 'add compiled files'
# create a tag for commit that includes the compiled files
git tag -a v0.7 -m "Version 0.7 Stable"
# push the tags up to your remote repository (e.g. GitHub)
git push --tags
# switch back to the master branch
git checkout master
# delete the branch you used for your tagged commit
git branch -D tag-branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.