Skip to content

Challenge 2 #2

@pranshukharkwal

Description

@pranshukharkwal

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.

  1. Create a new branch challenge2 from challenge1
  2. Add a new remote upstream pointing to this repo i.e https://github.com/KamandPrompt/git_hero_2021
  3. Fetch the version1 branch from upstream.
  4. Now merge the version1 branch from upstream and merge it with your branch i.e challenge2
  5. Now check git log. Take screenshots of the logs of last three commits and add them to the report.
  6. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    5beginnerThese are beginner friendly

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions