try-git
This repo is a contains several challenging practices to enchance your skills for git
To practice, first folk this repo to your own github.
Create a file and commit them
Create a file with your name, entering something and commit to master branch. Then push to your folked repository.
Amend commit message
Use git amend
to modify commit message, and then push to your repo.
Merge commits
Checkout to merge-commit
branch, use git rebase
to merge the three commit to one,
and push to the corresponding branch in your folked repo.
Merge branch
Merge branch merge
to master
, be sure to deal with conflicts
Rebase Branch
Rebase the branch rebase
to master
. Be sure to ensure that the commits in
master
follows the commits in rebase
.