Skip to content

Instantly share code, notes, and snippets.

@jerrymannel
Last active February 26, 2018 07:05
Show Gist options
  • Save jerrymannel/524dbf9589bf26005bfd21dc082f12e7 to your computer and use it in GitHub Desktop.
Save jerrymannel/524dbf9589bf26005bfd21dc082f12e7 to your computer and use it in GitHub Desktop.
Git init and tagging after cloning an empty repository
touch README.md
git add .
git commit -m "Init"
git push
git branch dev
git checkout dev
git merge master
git push --set-upstream origin dev

git tag -a 2016-09-25 -m "sample tag message"
git tag 2016-09-25-01
git push origin --tag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment