Skip to content

Commit d054d21

Browse files
amadiobernhardmgruber
authored andcommitted
Use $ for prompt so commands don't look like comments
1 parent a88cda3 commit d054d21

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Diff for: talk/tools/vcs.tex

+7-7
Original file line numberDiff line numberDiff line change
@@ -28,22 +28,22 @@
2828

2929
\begin{frame}[fragile]
3030
\frametitle{Git crash course}
31-
\begin{minted}[gobble=4]{bash}
32-
# git init myProject
31+
\begin{minted}[gobble=4]{shell-session}
32+
$ git init myProject
3333
Initialized empty Git repository in myProject/.git/
3434
35-
# vim file.cpp; vim file2.cpp
36-
# git add file.cpp file2.cpp
37-
# git commit -m "Committing first 2 files"
35+
$ vim file.cpp; vim file2.cpp
36+
$ git add file.cpp file2.cpp
37+
$ git commit -m "Committing first 2 files"
3838
[master (root-commit) c481716] Committing first 2 files
3939
...
4040

41-
# git log --oneline
41+
$ git log --oneline
4242
d725f2e Better STL test
4343
f24a6ce Reworked examples + added stl one
4444
bb54d15 implemented template part
4545
...
4646
47-
# git diff f24a6ce bb54d15
47+
$ git diff f24a6ce bb54d15
4848
\end{minted}
4949
\end{frame}

0 commit comments

Comments
 (0)