During this homework use all commands from the presentation!
- Read about best practices for writing a commit message.
- Add any ~3 commits to the master branch
- Make a new branch ( ex. dev ) from master
- Add any ~2 commits to the new branch ( ex. dev )
- Create a new branch(ex. alpha) from the dev
- Add ~1 commit to a new branch(ex. alpha)
- Use cherry-pick to relocate this new commit from the new branch (ex. alpha) to master
- Make an investigation about the cherry-pick command:
- find and use cherry-pick command that changes the commit message when relocating the commit
- find and use cherry-pick command that relocates the commit without making any commit, and all changes are in the index
- Add any ~3 commits to the master branch and to the dev branch
- Rebase commits from the dev branch to master and see what happens.
- Create a new branch from the master (ex. feature)
- Add any ~3 commits to the feature branch
- Checkout to the master branch and make ~1 commit
- Merge feature branch to master
- Make an investigation about merge Strategies in Git
- Create a branch(ex: before_interactive_rebase ) and make some commits. Create a new branch from previously and open interactive rebase (You have to create two branches that mentors can see how you use interactive rebase):
- Squash's last ~3-5 commits
- Change some commit message
- Remove any commit
- Make conflicts when using cherry-pick command, rebase, merge and solve them.
- Investigate about .gitignore and add it to repo.