Skip to content

Commit b835283

Browse files
committed
Merge pull request progit#273 from AnneTheAgile/master
Tagging: Add code description with variables.
2 parents 1bfe42f + 07e26ba commit b835283

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/02-git-basics/sections/tagging.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ Now, when someone else clones or pulls from your repository, they will get all y
212212
==== Checking out Tags
213213

214214
You can't really check out a tag in Git, since they can't be moved around.
215-
If you want to put a version of your repository in your working directory that looks like a specific tag, you can create a new branch at a specific tag:
215+
If you want to put a version of your repository in your working directory that looks like a specific tag, you can create a new branch at a specific tag with `git checkout -b [branchname] [tagname]`:
216216

217217
[source,console]
218218
----

0 commit comments

Comments
 (0)