9 – 12h Teaching
Simon Eugster
First steps:
Why? Contribute to other repository without having access to it. Or, as backup.
Clone https://github.com/Granjow/country-languages-exercise. Add own remote and push.
feature/country-names and push country namesDoes not work with a GUI, therefore we learn command line
/var/www/htmlTheory/Recap: Shell commands
Repeat for CSS, but both change it
masterdisplay: inline-block on feature/cssBoth push. Contributor creates pull request.
--forceTheory: What causes the conflict in terms of commits?`
Typical for projects. Everybody can push.
Put project online on a server.
Another person (9 to the left for 18 people) reviews request.
closes #42Integrate changes of other coder or of yourself (private repo, different PCs).
Theory: Rebase vs. Merge
--rebaseCommit-Message anpassen (amend) vor Push, oder Commit rückgängig machen
git commit --amend to change commit message and add more filesgit reset --hard HEAD^ or --soft to undo commitgit rebase -i HEAD~2 to change last 2 commits if not pushed or own branch (force push)12 – 13.30h Lunch
13.30 – 17h Coaching