Commit 700f8c9a authored by Sylvain Bouveret's avatar Sylvain Bouveret
Browse files

Changed commands about tags in understanding-git

parent 5808de1e
...@@ -519,14 +519,14 @@ $ git rev-parse refs/heads/master ...@@ -519,14 +519,14 @@ $ git rev-parse refs/heads/master
\begin{itemize} \begin{itemize}
\item Create a local branch and check it out:\\ \item Create a local branch and check it out:\\
\texttt{git checkout -b \textit{branch-name}} \texttt{git checkout -b \textit{branch-name}}
\item Switch to a branch:\\
\texttt{git checkout \textit{branch-name}}
\item List local branches:\\ \item List local branches:\\
\texttt{git branch} \texttt{git branch}
\item List all branches (including remote-tracking):\\ \item List all branches (including remote-tracking):\\
\texttt{git branch -a} \texttt{git branch -a}
\item Create a tag:\\ \item Create a tag:\\
\texttt{git tag \textit{tag-name}} \texttt{git tag \textit{tag-name}}
\item Switch to a branch, a tag, or a commit:\\
\texttt{git checkout \textit{branch-name/tag-name/commit}}
\end{itemize} \end{itemize}
\end{frame} \end{frame}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment