3 Commits

Author SHA1 Message Date
1642934a30 Add .gitignore to ignore secret files 2025-09-04 09:59:51 +05:30
f17209e24d Added screenshot 2025-09-01 12:12:22 +05:30
07fa763c66 added aasignment 2025-09-01 12:09:37 +05:30
11 changed files with 17 additions and 22 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
secret.txt secert.txt

View File

@ -1,4 +1,11 @@
Step 1 : Create new empty repository
- Visited the Git-Training-Hub organization on Git Comorin
- Created a new repository named as git-practice-Solomon
- Created with no README, no .gitignore and no license
- ![]
## 1. What is Git and Version Control ## 1. What is Git and Version Control
Git is a Version Control System (VCS). Git is a Version Control System (VCS).
@ -15,33 +22,31 @@ Old version ku back poganum na kashtam.
Example: Example:
School project / Google Docs → many people editing the same file School project / Google Docs → many people editing the same file
![alt text](git_version.png)
## 2. Installing Git & Configuring User Info ## 2. Installing Git & Configuring User Info
![alt text](git_version.png)
![alt text](git_config.png) ![alt text](git_config.png)
## 3. Initializing a Repository ## 3. Initializing a Repository
![alt text](git_init.png) ![alt text](git_init.png)
![alt text](git_status.png)
## 4. Working Directory, Staging, and Commits ## 4. Working Directory, Staging, and Commits
![alt text](git_commit.png)
![alt text](git_status.png)
## 5. Adding & Committing Files ## 5. Adding & Committing Files
![alt text](git_commit.png) ![alt text](git_commit.png)
## 6. Viewing Commit Logs & Diffs ## 6. Viewing Commit Logs & Diffs
![alt text](git_log_oneline.png)
![alt text](git_log.png) ![alt text](git_log.png)
![alt text](git_log_oneline.png)
![alt text](git_diff.png) ![alt text](git_diff.png)
![alt text](git_diff_commit1_commit2.png)
## 7. Creating & Switching Branches ## 7. Creating & Switching Branches
![alt text](git_checkout.png) ![alt text](git_branch.png)
![alt text](git_branch.png) ![alt text](git_checkout.png)
![alt text](git_switch.png)
## 8. Cloning a Remote Repository ## 8. Cloning a Remote Repository
![alt text](git_clone.png) ![alt text](git_clone.png)
@ -50,10 +55,3 @@ Example:
![alt text](git_remote.png) ![alt text](git_remote.png)
## 10. Pushing & Pulling Changes ## 10. Pushing & Pulling Changes
![alt text](git_pull.png)
![alt text](git_push.png)
## 11. Ignoring Files with .gitignore
![alt text](git status before ignore.png)
![alt text](gitignore.png)

View File

View File

@ -1,3 +0,0 @@
Hello World
Today Tech Tharsday
Mark my words

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB