The aim of this exercise is to learn how to use git together with GitHub. Furthermore, this exercise should encourage you to look for instructions of tools on the internet. Basically, git is a tool to work with code and its versions, bundled in a repository. GitHub is a platform for storing and accessing these repositories remotely. There are also additional features such as forks and pull requests.
- Create an exercise documentation (en|de) while you are working on the tasks. This is your submission for the exercise.
- For every task, write down your initial thoughts, assumptions, and the final outcome in full sentences. Describe the process of solving the task and provide code snippets and screenshots if needed.
- If you are not able to solve the task because you are not getting the tool to work, describe how you would solve it theoretically. You should still provide e.g. code snippets or a step by step description from the documentation or tutorial you found.
- Provide at least an URL or other reference for every documentation or tutorial you used to solve a task. Paraphrase and cite correctly, please. Use this tutorial, on referencing websites or simply do
This is a paraphase or cite [author. (date). URL in plain text]
.
- Submit not more than two A4 pages for your exercise documentation in pdf format.
- Create a GitHub account or use your present one and install the git command line tool.
- Fork the following repository and clone it to your local machine: https://github.com/anjakammer/git-and-github-exercise
- Use the git command line tool for all git related tasks, no client with an GUI, we want to work with the shell!
- Create a new branch from the main branch. The name should be a UUID version 4 string. Use this new branch for the following tasks.
- Add the same UUID to the list in the Readme file of the repository - use a commit for that. Tag your commit also with the UUID like this:
v.<UUID>
- Push your change and the tag into your forked repository on GitHub. What changes can you observe in the GitHub repository?
- Create a pull request with your change to merge it back into the base repository.
- using a search engine
- git related articles I curated for you
- UUID Generator
- git CLI