assignment file

This commit is contained in:
2025-09-24 16:26:50 +05:30
parent ade039ebd8
commit fac996810d
20 changed files with 58 additions and 0 deletions

57
GIT_ASSIGNMENT.md Normal file
View File

@ -0,0 +1,57 @@
## Git Assignment
## 1.Git Version Check
## what is git and version control
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. Recover from errors: Restore previous versions if something goes wrong. Git is a type of distributed version control system. Enable to work even without an internet connection and provide powerful tools for managing code changes.
---
## Real-life example where multiple people edit the same file:
In a project many person can work a same project we can track who is making what changes are made so we use git to track the changes.
---
## Why is version control better than emailing files back and forth?
In email we can`t tarck the changes in the code.But in git we track the changes like who make it,time and old version of code.
![alt text](image.png)
---
## 2. Installing Git & Configuring User Info
![alt text](image-1.png)
![alt text](image-2.png)
---
## 3. Initializing a Repository
![alt text](image-3.png)
---
## 4. Working Directory, Staging, and Commits
![alt text](image-4.png)
---
## 5. Adding & Committing Files
![alt text](image-5.png)
---
## 6. Viewing Commit Logs & Diffs
![alt text](image-6.png)
![alt text](image-7.png)
![alt text](image-9.png)
---
## 7. Creating & Switching Branches
![alt text](image-10.png)
---
## 8. Cloning a Remote Repository
![alt text](image-11.png)
---
## 9. Adding & Managing Remotes
![alt text](image-12.png)
---
## 10. Pushing & Pulling Changes
![alt text](image-13.png)
![alt text](image-14.png)
---
## 11. Ignoring Files with .gitignore
![alt text](image-15.png)
![alt text](image-16.png)
![alt text](image-17.png)

Submodule git-practice-leowhiteson added at 3882967d60

BIN
image-1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

BIN
image-10.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

BIN
image-11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

BIN
image-12.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

BIN
image-13.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

BIN
image-14.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

BIN
image-15.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

BIN
image-16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

BIN
image-17.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
image-2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
image-3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
image-4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

BIN
image-5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
image-6.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

BIN
image-7.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
image-8.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

BIN
image-9.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

BIN
image.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB