About Me

header ads

Project Management with Git (BCS358C)

Project Management with Git

Course Code BCS358C 
CIE Marks 50
Teaching Hours/Week (L:T:P: S) 0: 0 : 2: 0 
Credits 01 
Examination type (SEE) Practical
SEE Marks 50
Exam Marks 100

Experiments

1 Setting Up and Basic Commands

Initialize a new Git repository in a directory. Create a new file and add it to the staging area

and commit the changes with an appropriate commit message.


2 Creating and Managing Branches

Create a new branch named "feature-branch." Switch to the "master" branch. Merge the

"feature-branch" into "master."


3 Creating and Managing Branches

Write the commands to stash your changes, switch branches, and then apply the stashed

changes.


4 Collaboration and Remote Repositories

Clone a remote Git repository to your local machine.



5 Collaboration and Remote Repositories

Fetch the latest changes from a remote repository and rebase your local branch onto the

updated remote branch.



6 Collaboration and Remote Repositories

Write the command to merge "feature-branch" into "master" while providing a custom

commit message for the merge.



7 Git Tags and Releases

Write the command to create a lightweight Git tag named "v1.0" for a commit in your local

repository.


8 Advanced Git Operations

Write the command to cherry-pick a range of commits from "source-branch" to the current

branch.


9 Analysing and Changing Git History

Given a commit ID, how would you use Git to view the details of that specific commit,

including the author, date, and commit message?


10 Analysing and Changing Git History

Write the command to list all commits made by the author "JohnDoe" between "2023-01-01"

and "2023-12-31."


11 Analysing and Changing Git History

Write the command to display the last five commits in the repository's history.


12 Analysing and Changing Git History

Write the command to undo the changes introduced by the commit with the ID "abc123".


Post a Comment

0 Comments