Priyam and Pranshu are smart. They have added the assets and sounds which are necessary on the version1 branch. The head of version1 is thus three commits ahead of the main. Your task is as follows.
In this challenge, you will learn about git pull and the concept of remotes in git. Btw, we are done giving you exact commands. Now google is your friend.
- Create a new branch
challenge2 from challenge1
- Add a new remote
upstream pointing to this repo i.e https://github.com/KamandPrompt/git_hero_2021
- Fetch the
version1 branch from upstream.
- Now merge the
version1 branch from upstream and merge it with your branch i.e challenge2
- Now check git log. Take screenshots of the logs of last three commits and add them to the report.
- Push the changes to
challenge2 branch and make a pull request with description Solved #2
HINTS
Here are the commands you will need for these tasks. Read their documentations and do accordingly
2 : git remote
3 : git fetch
4 : git merge
5 : git log
Priyam and Pranshu are smart. They have added the assets and sounds which are necessary on the version1 branch. The head of
version1is thus three commits ahead of the main. Your task is as follows.In this challenge, you will learn about
git pulland the concept of remotes in git. Btw, we are done giving you exact commands. Now google is your friend.challenge2fromchallenge1upstreampointing to this repo i.ehttps://github.com/KamandPrompt/git_hero_2021version1branch from upstream.version1branch from upstream and merge it with your branch i.echallenge2challenge2branch and make a pull request with descriptionSolved #2HINTS
Here are the commands you will need for these tasks. Read their documentations and do accordingly
2 : git remote
3 : git fetch
4 : git merge
5 : git log