Project Management (with Git)
Course Code 1BCSL307A
Scheme 2025
Type of Course AEC
Semester 3
Teaching Hours/Week (L:T: P) 0:0:2
CIE Marks 50
Total Hours of Pedagogy L :T:P:SL:TW 0:0:28:2:30
SEE Marks 50
Credits 1
Total Marks 100
Type of Examination Practical
Exam Hours 03
SET OF 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 "featurebranch" 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 Git command to display all commits made by the author "JohnDoe" between “January 1, 2025” and “December 31, 2025.”
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".
Suggested Learning Resources:
Textbooks:
1. Version Control with Git, 3rd Edition, by Prem Kumar Ponuthorai, Jon Loeliger Released October2022, Publisher(s): O'Reilly Media, Inc.
2. Pro Git book, written by Scott Chacon and Ben Straub and published by Apress, https://gitscm.com/book/en/v2
Reference books / Manuals:
1. Git Pocket Guide, by Richard E. Silverman, https://www.oreilly.com/library/view/git-pocketguide/9781449327507/

.png)