Sustainable Computing Research Group (SCoRe)
[Git] Git upstream branches
When you fork a repo from SCoRe repository and clone it on your machine, you have to pull the newest changes from SCoRe repository time to time because your forked repo doesn't get automatically updated with the changes in SCoRe repository.
How we usually do this is by adding the SCoRe repository as git remote named upstream
. upstream
is just a fancy name, you can name it any way you like, but we all use it as a convention.
Your task is to add the SCoRe repository as upstream
and pull changes from it.
Send up screenshots of the terminal when you do,
git remote -v
after adding upstream- Fetch the changes from upstream. (
git fetch upstream
) - merge the changes from upstream. (
git merge upstream/master
)
Refer
Task tags
Students who completed this task
tegenton, Matthew Warwick, Leo Gao, jayti nigam, Łukasz Myśliwiec, Afras Ashraf, haru, Gautham Raghupathi, Gaurav, Kinjal Agrawal, Shehar Yaar Tausif, Alexius Adhitya K., Isabel Alvarado, Shivansh Sharma, Padam Chopra, Abhinav Pola, Farhan Mufti Hilmy, Omkar Jadhav, Nitish Dashora, Saket Kaki, Christos Falas, Xun Xu, Moses Paul, Piotr Michalski, riiptide, Vikrant Reddy, Ade Isman Aji, labcode, Shlok J, Szymon Leja, stephancill, Kimberley Worrall, Madhawa Dissanayake, Benjamin Mueggenburg, Raghu Ranganathan, IUserPPAKD, Angeli M, Seth Vogler, Anubhav Verma, Revanth, Kaden Gordon, Adhyan Dhull, Kalyan C, Mehant Kammakomati, Dia Ganesh Kumar, Kartik Singhal, Harshni Priya, Rohan Shiva