Commit 229c3439 authored by Michal Hečko's avatar Michal Hečko
Browse files

Merge branch 'hw02' into 'main'

HW02 (Class 3)

See merge request red-hat/mastering-git!32
parents 78b9f283 56de1f5f
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
What was new to me was how precisely we went through the different
states of a file. As a programmer, all I cared about was pushing a piece
of code from one place to another. I learned about what you prefer as
experienced developers. What was unclear to me before were differences
between commands that seemed to do the same thing.
+18 −0
Original line number Diff line number Diff line
   75  cd mastering-git/
   76  ls
   77  cd class3_homework
   78  ls
   79  touch 536480.txt
   80  touch 536480_commands.txt
   81  git status
   82  git switch -c hw02
   83  git status
   84  vim 536480.txt
   85  history > 536480_commands.txt
   86  vim 536480_commands.txt 
   87  git status
   88  git add .
   89  git commit -m "Added homework files"
   90  git push
   91  git push --set-upstream origin hw02
   92  history > 536480_commands.txt