You have forked gm-languages repo -- which is a collection of information about programming languages -- to your account as [[ username ]]-gitmastery-languages and cloned it to your computer as languages. It has two commits.
gitGraph BT:
commit id: "Add C.txt"
commit id: "[HEAD → main] Add Python.txt"
Now you wish to contribute repo gm-languages through a PR.
Java.txt and commit it to the main branch, and push it to your fork, as follows:echo -e "1905, by James Gosling" >> Java.txt
git add Java.txt
git commit -m "Add Java.txt"
git push origin master
Java.txt from 1905 (which is incorrect) to 1995 (the correct year Java was crated). Update the PR to reflect this correction.create-pr-from-mainTo download the exercise:
gitmastery-exercises folder.gitmastery download create-pr-from-main command.Scenario:
You have forked gm-languages repo -- which is a collection of information about programming languages -- to your account as [[ username ]]-gitmastery-languages and cloned it to your computer as languages. It has two commits.
gitGraph BT:
commit id: "Add C.txt"
commit id: "[HEAD → main] Add Python.txt"
Now you wish to contribute repo gm-languages through a PR.
Your task:
Java.txt and commit it to the main branch, and push it to your fork, as follows:echo -e "1905, by James Gosling" >> Java.txt
git add Java.txt
git commit -m "Add Java.txt"
git push origin master
Java.txt from 1905 (which is incorrect) to 1995 (the correct year Java was crated). Update the PR to reflect this correction.To verify your work:
gitmastery-exercises/create-pr-from-main folder (or any sub-folder of it).gitmastery verify command.To reset the exercise and start over, navigate to the gitmastery-exercises/create-pr-from-main folder and run the gitmastery progress reset command.