Software Constraction Design Lab No 05
Software Constraction Design Lab No 05
05
Configuration management Software and processes
Following are the lab objectives:
1. Create branches, merge branches, add file and directory using
Objectives
Roll Student
No. 4979 Name Mubashir Hussain
Comments
Marks
Task
20
1
Task
20
2
Total
Mark 40
s
Lab CLOs
Objectives 1 2 3 4
1
2
Instructions
▪ This is individual Lab work/task.
▪ Copy paste from the Internet will give you negative marks.
▪ Lab work is divided into small tasks, completing all tasks sequentially.
▪ In-Lab Exercises/Tasks
git log
git log -5
git log -p -2
Add file or directory to staging
# Add single file
List the available branches with details about the upstream branch and last commit message
git branch -vv
Using "-v" instead of "-vv" shows less information.
Create a new branch
git branch my-new-branch
Creates a branch named "my-new-branch".
Switch to a different (existing) branch using "git checkout"
git checkout develop
Checks out (switch) to an existing branch named "develop".
Lab Task 01:
Create branches, merge branches, add file and directory using above commands in
GitHub tool. (20)
Lab Task 02:
Create a branch and checkout (switch) to it then change the message and/or files of the last
commit,show the log containing commit history using above credentials in GitHub.
(20)
The End