This repository contains my Git practical assignment, demonstrating various Git operations such as repository initialization, remote operations, branching, merging, reset types, stashing, and pull requests.
- Initialized a local Git repository and practiced staging/unstaging.
- Linked with remote GitHub repo, pushed/pulled commits.
- Created and merged a feature branch (
g1
) via Pull Request. - Practiced
git reset
(soft, mixed, hard),git add -p
,git diff
, andgit ls-files
. - Created and merged branches (
b1
,b2
,b3
) and resolved merge conflicts. - Forked the repository, cloned the fork, added changes, and created a PR.
- Performed a complex staging/unstaging challenge using
git stash
,git add -p
, and conflict resolution.
- Repository: https://github.com/shrutimishra04/Assignment_git
- Pull Request 1 (g1 β main): PR Link
- Pull Request 2 (Fork β Original): PR Link
All terminal screenshots for each major step are available in the screenshots/
folder.