To learn the basic features of git, we will use the script of a magic 8 ball (8ball.py).
- Clone this repo to your computer using
git clone git@github.com/guidotournois-icemobile/git-assignment
.
- Change one of the magic 8 ball answers in your favo editor and save file
- Check the status of your local repo in the terminal
- Stage changes for commit
- Commit your changes and check the log of your local repo
- Push your changes to the remote on branch master
- Use
pull/fetch/merge/push
to get your commits to the remote on the branch master using command line only - Create and checkout a new branch locally and put random files in it
- Add and commit the newly added files to your branch and push it upstream
- Merge your branch with the master branch and push master back upstream
- Remove your temporary branch