Today we will learn to clone a repository and make a PR.
Your friend has a problem! Clone the repo, create a branch called
"solution", and fix the problem in this branch. When you're ready. make a "Pull Request" by using git tag pr
.
- Complete the goal of this level
- friend
- file
- Clone the repository.
git clone ../friend .
- Create a new branch named
solution
.
git branch -M solution
- Edit the file and make a commit.
git add .
git commit -m "issue fixed"
- Create a PR into the repository.
git tag pr