added assignment file

This commit is contained in:
2025-08-20 16:46:20 +05:30
parent 28a125bd48
commit 9078ab1a83

View File

@ -1,7 +1,30 @@
Version Control:
Version control is a system used to record and manage changes made to files or code over time. It helps you to:
Keep track of modifications: Identify what was changed, when it was changed, and who made the changes.
## Git Assignment
## 1.Git Version Check
![alt text](<git version.png>)
Recover from errors: Restore previous versions if something goes wrong.
## 2. Installing Git & Configuring User Info
![alt text](<git installation.png>)
![alt text](<git config.png>)
## 3. Initializing a Repository
![alt text](<initializing rep.png>)
## 4.Working Directory, Staging, and Commits
![alt text](<add.png>)
## 5. Adding & Committing Files
![alt text](<add.png>)
![alt text](<add and commit.png>)
## 6. Viewing Commit Logs & Diffs
![alt text](<git log.png>)
![alt text](<git log oneline.png>)
![alt text](<git diff (15).png>)
![alt text](<git diff commit1 commit 2.png>)