Loading class3_homework/536230.txt 0 → 100644 +7 −0 Original line number Diff line number Diff line Some of the concepts and commands, which I have come to understand more (so far): - difference between and importance of origin/upstream - difference between forking and cloning - !! git rebase -- how and why; interactive rebase !! - git reset -- usage other than resetting after you have messed up your branch (e.g. splitting up a previous commit into smaller ones, or vice versa) - git pull and git fetch - !! how to take full advantage of and use git log and git reflog !! class3_homework/536230_commands.txt 0 → 100644 +15 −0 Original line number Diff line number Diff line 1 clear 2 git switch -c class3-homework 3 cd ./class3_homework/ 4 touch 536230.txt 5 vim 536230.txt 6 git commit -m "[HOMEWORK 3] Added file containing cleared up concepts" 7 git add ./536230.txt 8 git commit -m "[HOMEWORK 3] Added file containing cleared up concepts" 9 git push origin class3-homework 10 touch 536230_commands.txt 11 history > 536230.txt 12 ls 13 git restore ./536230.txt 14 vim 536230.txt 15 history > 536230_commands.txt Loading
class3_homework/536230.txt 0 → 100644 +7 −0 Original line number Diff line number Diff line Some of the concepts and commands, which I have come to understand more (so far): - difference between and importance of origin/upstream - difference between forking and cloning - !! git rebase -- how and why; interactive rebase !! - git reset -- usage other than resetting after you have messed up your branch (e.g. splitting up a previous commit into smaller ones, or vice versa) - git pull and git fetch - !! how to take full advantage of and use git log and git reflog !!
class3_homework/536230_commands.txt 0 → 100644 +15 −0 Original line number Diff line number Diff line 1 clear 2 git switch -c class3-homework 3 cd ./class3_homework/ 4 touch 536230.txt 5 vim 536230.txt 6 git commit -m "[HOMEWORK 3] Added file containing cleared up concepts" 7 git add ./536230.txt 8 git commit -m "[HOMEWORK 3] Added file containing cleared up concepts" 9 git push origin class3-homework 10 touch 536230_commands.txt 11 history > 536230.txt 12 ls 13 git restore ./536230.txt 14 vim 536230.txt 15 history > 536230_commands.txt