7 Commits

Author SHA1 Message Date
4f19dbc47a Update gitassignment.md 2025-09-02 11:04:00 +00:00
3618c2e693 added heading for gitignore 2025-09-02 16:32:06 +05:30
8f87fd7888 added Working Directory and Staging 2025-09-02 16:07:44 +05:30
2e533c8cf6 added git push and gitignore 2025-09-02 16:03:32 +05:30
6ba0313795 added Working Directory and Staging image 2025-09-02 15:45:38 +05:30
d16da988cd Add .gitignore to ignore secret.txt 2025-08-26 17:03:00 +05:30
3f66206d09 Add images and update gitassignment.md 2025-08-23 10:40:10 +05:30
15 changed files with 86 additions and 48 deletions

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
secret.txt
secretfile.txt

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

BIN
create new branch.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -1,3 +1,2 @@
hello hello
welcome Hi
adgsjkdh

BIN
git branch.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

BIN
git checkout.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

BIN
git clone.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

BIN
git pull.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

BIN
git push.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

BIN
git switch.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

View File

@@ -44,3 +44,40 @@ In email we can`t tarck the changes in the code.But in git we track the changes
![alt text](<git diff commit1 commit 2.png>) ![alt text](<git diff commit1 commit 2.png>)
![alt text](<git diff.png>) ![alt text](<git diff.png>)
![alt text](<git log oneline.png>) ![alt text](<git log oneline.png>)
## 7. Creating & Switching Branches
![alt text](<git branch.png>)
![alt text](<create new branch.png>)
![alt text](<git checkout.png>)
![alt text](<git switch.png>)
## 8 Git clone
![alt text](<git clone.png>)
## 9. Adding & Managing Remotes
![alt text](<Adding & Managing Remotes.png>)
## 10. Pushing & Pulling Changes
![alt text](<git pull.png>)
![alt text](<git push.png>)
## 11. Ignoring Files with .gitignore
![alt text](<Ignoring Files with .gitignore.png>)
Working Directory and staging:
![alt text](<Working Directory and Staging.png>)
Git status Before gitignore
![alt text](<git status before gitignore.png>)
Git status after gitignore
![alt text](<git status after gitignore.png>)