-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Labels
Description
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
challenge2fromchallenge1 - Add a new remote
upstreampointing to this repo i.ehttps://github.com/KamandPrompt/git_hero_2021 - Fetch the
version1branch from upstream. - Now merge the
version1branch from upstream and merge it with your branch i.echallenge2 - Now check git log. Take screenshots of the logs of last three commits and add them to the report.
- Push the changes to
challenge2branch and make a pull request with descriptionSolved #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