Sustainable Computing Research Group (SCoRe)
[Git] Getting started with Git
Let's understand how to create a feature branch & send a Pull Request(PR). Here we use "Bassa" project for examples but you can work on one of your favourite project to do this task.
Prerequisites
- You should have a GitHub account and should be logged in while following the steps
- You should have Git installed on your machine.
Task
- Fork the project repo
- Clone your forked repo on your local machine.
- List down the Remotes of the repo.
- List down the Branches of the repo.
- Upload a screenshot of the terminal with the outputs of 3 and 4.
- View the git log
- Upload a screenshot of the terminal with the output of 6.
Explanation
- Navigate to the repo on GitHub( eg: https://github.com/scorelab/Bassa )
- Click on the 'Fork' button in the top right corner. GitHub will take some time to fork the repo.
- Navigate to the forked repo. Should be like https://github.com/ /Bassa
- Click on the green color 'Clone or download' button
- Copy the command given in the text box. Should be like
https://github.com/<your_github_username>/Bassa.git
- Clone it on your local machine.
git clone https://github.com/<your_github_username>/Bassa.git
- Navigate to the cloned directory
cd Bassa
- List down the Remotes of the repo.
git remote -v
- List down the Branches of the repo.
git branch -a
- Take a screenshot of the terminal output and upload.
- View the git log.
git log
- Take a screenshot of the terminal output and upload.
Task tags
Students who completed this task
Przemysław Włochowicz, Abhijit Kumar, Vishal Sodem, Arnau Fite Cluet, ItsPugle, Jeffrey Shen, Andi Qu, Amit Sharma, Angel de Caldas, Shijia Liao, Tanmay Anand, Abakir Hanna, camgua20, Hartama, Shivansh Sharma, Jose de la Fuente, Joshua, Kalyan C, Aryan Jain, Birkhoff Lee, JULIKA KADER MAIDEEN, Darsh, Aryaman Aryaman, Rainer Regan, Weka, G_K, Nguyen Trung Nghia, Alcatraz3D, eisenhaus335, HPA axis, haru, Colin Siles, Miko, Farhan Mufti Hilmy, Shravya Nandyala, Ajith K, Xun Xu, Max Iksinski Strózik, Nikita Serba, Tio Irawan, Sean Tcherniev, Kaleb Gezahegn, Linda Thelen, Harshada Shelarkar, Parth Garasiya, hasia, Jakub Podolak, Udit Sanghi, Al Mao, Zachary Arroyo, Shaurya Singhal, anushka londhe, Andi Alifsyah, William Nathaniel, n1jna, Ömer Kural, shubhmehtani, Trần Thái Sơn, swimdance15, Afshaan Londhe, Alex Feng, Rohith, Ian Duran, Daniel Dikaleh, Arun Pattni, rockinthespecs, Burlyn Andall-Blake, Chris2fourlaw, Nikodem Szlagor, Saurabh Sharma, IUserPPAKD, Sudhanshu Singh, Dvir Akerman, Hakkı Alp Tekin, anvitha veer, OHM OMAR, SG, Marcel Kamiński, Alok N, Sagar Khatri-1, Haikal Izzuddin, Matthew Lim, Stam Kaly, Ayush Munot, Kevan Nguyen, Thái Dương Bảo Duy, Mehant Kammakomati, AD, wawolf24, Nguyen Loc Nguyen Huynh, Chien Ha, Vicky Yu, Ari Glenn, KULDEEP PRASAD, Tan Chien Hao, Dragos Balan, mjwojs, Shrey Jain, Arianna Walters, Rohan Shiva