devops-exercises/topics/git/branch_01.md
abregman 99c4e02ecf Rename exercises dir
Name it instead "topics" so it won't be
strange if some topics included "exercises" directory.
2022-08-02 01:53:56 +03:00

20 lines
475 B
Markdown

## Git Commit 01
### Objective
Learn how to work with Git Branches
### Instructions
1. Pick up a Git repository (or create a new one) with at least one commit
2. Create a new branch called "dev"
3. Modify one of the files in the repository
4. Create a new commit
5. Verify the commit you created is only in "dev" branch
### After you complete the exercise
Answer the following:
1. Why branches are useful? Give an example of one real-world scenario for using branches