Hopefully in the last task you got some basic idea on what git and GitHub is and how to use it to collaborate on projects.
In this task you'll learn some more useful git commands.
Your objective for this task is to update the text file you created in task 1 and add a field for the domain you're interested to work on in Enigma.
Now, anytime any changes take place in the main repository, your forked repository must pull
those changes from the main repository before it can push
other changes to the main repository.
-
For that, go to the Enigma repository and copy the repo address just like you copied your forked repo's address in task 1.
-
Now open gitbash in your cloned repo and type
git remote add upstream <copied repo address>
. This adds a reference to the main repository from which we can pull the updates. -
Now enter
git pull upstream main
. this should now pull all the changes that have been made to the main repo from merging the pull requests. -
Now you need to find your txt file that you created in task 1 and add in which domain you'd like to work on.
-
Now add, commit and push the changes just like you did in task 1 and create a pull request.