X-Git-Url: https://git.martlubbers.net/?p=ai-gitflashtalk.git;a=blobdiff_plain;f=git.tex;h=42697385bebf61687d902b6155e101268724d6ca;hp=eef261c03f8c19b88c7584bfd23d626475cfccc8;hb=ce79438f2a77925e9e0bf3422d9fcdfe8ed906b5;hpb=bcf7f56797efe5a8538219d3ea3eb2453b129e99 diff --git a/git.tex b/git.tex index eef261c..4269738 100644 --- a/git.tex +++ b/git.tex @@ -103,6 +103,7 @@ git version 1.7.10.4 \begin{lstlisting} frobnicator@frobmachine:~/projects\$ git init myfirstproject Initialized empty Git repository in /home/frobnicator/projects/myfirstproject/.git/ + frobnicator@frobmachine:~/projects\$ ls -1 myfirstproject/.git branches/ config @@ -141,6 +142,7 @@ refs/ \frametitle{Add and commit} \begin{lstlisting} frobnicator@frobmachine:~/projects/myfirstproject\$ echo "This is a frobfile" > frobbedfile + frobnicator@frobmachine:~/projects/myfirstproject\$ git status On branch master @@ -158,6 +160,7 @@ nothing added to commit but untracked files present (use "git add" to track) \begin{frame}[fragile] \begin{lstlisting} frobnicator@frobmachine:~/projects/myfirstproject\$ git add frobbedfile + frobnicator@frobmachine:~/projects/myfirstproject\$ git status On branch master @@ -167,6 +170,7 @@ Changes to be committed: (use "git rm --cached ..." to unstage) new file: frobbedfile + frobnicator@frobmachine:~/projects/myfirstproject\$ git commit [master (root-commit) 2b7355e] Adds frobbedfile 1 file changed, 1 insertion(+)