[go: up one dir, main page]

0% found this document useful (0 votes)
47 views6 pages

Lab-1 Solution

The document outlines a lab exercise for Software Configuration Management at Punjab Tianjin University of Technology, focusing on GitHub. It includes objectives such as creating a repository, branches, and understanding pull requests, along with detailed instructions for completing the tasks. Students are required to document their progress with screenshots at each step.

Uploaded by

Muhammad Shahzad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views6 pages

Lab-1 Solution

The document outlines a lab exercise for Software Configuration Management at Punjab Tianjin University of Technology, focusing on GitHub. It includes objectives such as creating a repository, branches, and understanding pull requests, along with detailed instructions for completing the tasks. Students are required to document their progress with screenshots at each step.

Uploaded by

Muhammad Shahzad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Punjab Tianjin University of Technology (PTUT)

Department of Software Engineering


Software Configuration Management Technology
Lab 1
Introduction to GitHub
Teacher: Nimra
Objective: To introduce GitHub and its different concepts:
1. Creating a file in a new repository.
2. Creating new branches
3. Merging files from sub-branches into the master branch
4. Understand the concept of “Pull Request”
5. Visualizing the branch status using the “Network graph” option of GitHub.
Instructions:
1. You will attach the screen shot of each step where ever it is required.
2. You can use the “Snipping Tool” software to capture the screen shot. This is built-in in
windows. You do not need to install this software.
Guidelines:
1. Create a repository named “My Repo” and check the box of “Add a README file”.
2. Add any description to your repo.
3. Create a new file named “my_code”. Display your name using the cout command. Press
the “Commit Changes” button. This will save your settings.
4. Attach the Network graph of your repo.
5. Create a new branch named “Roll number”. Attach the screenshot
6. Go to your “Roll number” branch and add a new line in your code where you output your
roll number using the cout command. Attach the network graph at this point.
7. Commit your changes to the Roll number branch and attach the screenshot of your network
graph.
8. Now, commit your changes to the master branch by creating and merging a PULL Request.
Attach the screenshot of you creating and merging the PULL Request from the “Roll
number” branch to Master branch.
9. Attach the final screenshot of your network graph after creating a branch and merging it in
the master branch.

Page 1 of 1
Lab 01

1. Create a repository named “My Repo” and check the box of “Add a README file”.

2. Add any description to your repo.


Lab 01

3. Create a new file named “my_code”. Display your name using the cout command. Press the
“Commit Changes” button. This will save your settings.

4. Attach the Network graph of your repo.


Lab 01
5. Create a new branch named “Roll number”. Attach the screenshot

6. Go to your “Roll number” branch and add a new line in your code where you output your roll
number using the cout command. Attach the network graph at this point.
Lab 01

7. Commit your changes to the Roll number branch and attach the screenshot of your network graph.

8. Now, commit your changes to the master branch by creating and merging a PULL Request. Attach
the screenshot of you creating and merging the PULL Request from the “Roll number” branch to
Master branch.
Lab 01

9. Attach the final screenshot of your network graph after creating a branch and merging it in the
master branch.

You might also like