Skip to content
Snippets Groups Projects
Commit 361ab4d7 authored by Administrator's avatar Administrator
Browse files

Small fix

parent c6d834cf
No related branches found
No related tags found
No related merge requests found
......@@ -136,7 +136,42 @@ andersn@stodola:../computers/git-tutorial$ git status
\begin{lstlisting}
*.aux
*.log
*~
git-tutorial.pdf
\end{lstlisting}
\begin{lstlisting}
andersn@stodola:../computers/git-tutorial$ git add .gitignore
andersn@stodola:../computers/git-tutorial$ git status
# On branch master
#
# Initial commit
#
# Changes to be committed:
# (use "git rm --cached <file>..." to unstage)
#
# new file: .gitignore
# new file: git-tutorial.tex
# new file: lifecycle.png
#
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: git-tutorial.tex
#
\end{lstlisting}
\begin{lstlisting}
andersn@stodola:../computers/git-tutorial$ git commit -am"Initial commit"
[master (root-commit) c6d834c] Initial commit
3 files changed, 146 insertions(+)
create mode 100644 .gitignore
create mode 100644 git-tutorial.tex
create mode 100644 lifecycle.png
\end{lstlisting}
\end{document}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment