Please do not continue if you have not learned the content covered in these assignments. It is important to learn the material. However if, like me, you find yourself needing to complete arbitrary tasks for classes you are capable of testing out of - but its not offered. Please continue...
README: To use this quickly, copy and paste the entire block of code in the 'console' using CTRL-V. They have been written so you do not need to copy each line, one-by-one
git commit;
git commit;
git branch bugFix;
git checkout bugFix;
git checkout -b bugFix;
git commit;
git checkout main;
git commit;
git merge bugFix;
git checkout -b bugFix;
git commit;
git checkout main;
git commit;
git checkout bugFix;
git rebase main;
git checkout C4;
git checkout C4^;
git branch -f main C6;
git branch -f bugFix C0;
git checkout C1;
git reset local~1;
git checkout pushed;
git revert pushed;
git cherry-pick C3 C4 C7;
git rebase -i main~4 --aboveAll;
For the solution, order the commits as C3, C5, C4. You may need to omit or pick commits.
git checkout main;
git cherry-pick C4;
git rebase -i caption~2 --aboveAll;
git commit --amend;
git rebase -i caption~2 --aboveAll;
git branch -f master caption;
1) For the solution, order the commits as C3, C2. You may need to omit or pick commits.
2) For the solution, order the commits as C2'', C3'. You may need to omit or pick commits.
git checkout main;
git cherry-pick C2;
git commit --amend;
git cherry-pick C3;
git tag v0 C1;
git tag v1 C2;
git checkout C2;
git commit;
git rebase main bugFix;
git rebase bugFix side;
git rebase side another;
git rebase another master;
git branch bugWork main~^2~;
git checkout one;
git cherry-pick C4 C3 C2;
git checkout two;
git cherry-pick C5 C4 C3 C2;
git branch -f three C2;
git clone;
git commit;
git checkout o/main;
git commit;
git fetch;
git pull;
git clone;
git fakeTeamwork main 2;
git commit;
git pull;
git clone;
git commit;
git commit;
git push;
git clone;
git fakeTeamwork;
git commit;
git pull --rebase;
git push;
git reset --hard o/master
git checkout -b feature C2
git push
git fetch;
git rebase o/main side1;
git rebase side1 side2;
git rebase side2 side3;
git rebase side3 main;
git push;
git checkout main;
git pull;
git merge side1;
git merge side2;
git merge side3;
git push;
git checkout -b side o/main;
git commit;
git pull --rebase;
git push;
git push origin main;
git push origin foo;
git push origin main~1:foo;
git push origin foo:master;
git fetch origin c6:main
git fetch origin c3:foo
git checkout foo
git merge main
git push origin :foo;
git fetch origin :bar;
git fetch origin c3:foo
git fetch origin c2:side
git merge foo
git merge side