Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gregory Mounie
formation-git
Commits
700f8c9a
Commit
700f8c9a
authored
Nov 13, 2017
by
Sylvain Bouveret
Browse files
Changed commands about tags in understanding-git
parent
5808de1e
Changes
1
Hide whitespace changes
Inline
Side-by-side
FormaContinue_MeteoNov2017/Slides/understanding-git.tex
View file @
700f8c9a
...
@@ -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}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment