Project Management with Git BCS358C

Project Management with Git BCS358C

Project Management with Git BCS358C

Course Code: BCS358C

Credits: 01

CIE Marks: 50

SEE Marks: 50

Total Marks: 100

Exam Hours: 01

Teaching Hours/Weeks: [L:T:P:S] 0:0:2:0

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.

Creating and Managing Branches Create a new branch named “feature-branch.” Switch to the “master” branch. Merge the “feature-branch” into “master.”

Creating and Managing Branches Write the commands to stash your changes, switch branches, and then apply the stashed changes.

Collaboration and Remote Repositories Clone a remote Git repository to your local machine.

Collaboration and Remote Repositories Fetch the latest changes from a remote repository and rebase your local branch onto the updated remote branch.

Collaboration and Remote Repositories Write the command to merge “feature-branch” into “master” while providing a custom commit message for the merge.

Git Tags and Releases Write the command to create a lightweight Git tag named “v1.0” for a commit in your local repository.

Advanced Git Operations Write the command to cherry-pick a range of commits from “source-branch” to the current branch.

Analyzing 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?

Analyzing and Changing Git History Write the command to list all commits made by the author “JohnDoe” between “2023-01-01” and “2023 12-31.”

Analyzing and Changing Git History Write the command to display the last five commits in the repository’s history.

Analyzing and Changing Git History Write the command to undo the changes introduced by the commit with the ID “abc123”.

Leave a Reply

Your email address will not be published. Required fields are marked *