Adding a tag to a previous revision

From LING073
Revision as of 16:29, 28 February 2017 by Jwashin1 (talk | contribs) (Created page with "# Use <code>git log</code> to find the revision that you want to put a tag at. # Check out the revision with <code>git checkout [revisionhash]</code>. # Apply the tag using <c...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
  1. Use git log to find the revision that you want to put a tag at.
  2. Check out the revision with git checkout [revisionhash].
  3. Apply the tag using git tag [tagname].
  4. Check out master git checkout master.
  5. Push the new tag git push origin [tagname].