onemoreorund is part of the neue fische web-development bootcamp.
Git is a distributed version-control system for tracking changes in any set of files, originally designed for coordinating work among programmers cooperating on source code during software development.
A system for version control. A collection of snapshots of your project over time.
This is a collection of information to supplement a live session in zoom. If you didn't attend the session you can read up on each subject by following the links.
We would like to demistify git
a little bit, so it is less magical, but more concrete for you what it actually does.
- Visualise what a series of commits looks like
- The difference between "local" and "remote"
- What happens if you "checkout" a branch or commit
git checkout
- What is "staging" or the "stage"
- What is HEAD
- What are merge conflicts and how to resolve them
You can use this repository as a template to create your own and play around with git
. We have prepared some small tasks to get you started.
feature1
has a merge conflictfeature2
is to demonstrate how different changes can live on different branches
-
https://www.atlassian.com/git/tutorials/using-branches/git-checkout
-
https://dev.to/sublimegeek/git-staging-area-explained-like-im-five-1anh
-
https://thoughtbot.com/blog/git-interactive-rebase-squash-amend-rewriting-history
-
https://dev.to/unseenwizzard/learn-git-concepts-not-commands-4gjc
-
https://training.github.com/downloads/github-git-cheat-sheet/