Compare commits
8 Commits
feature/de
...
main
Author | SHA1 | Date | |
---|---|---|---|
afae400903 | |||
5796b489dc | |||
690ce8df30 | |||
6975f9a2a4 | |||
dd41592d9d | |||
d17190adaa | |||
479c061720 | |||
dbd3af5881 |
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
secret.txt
|
@ -1,5 +1,59 @@
|
||||
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
|
||||
Git is a Version Control System (VCS).
|
||||
|
||||
|
||||
Tracks changes in files, helping teamwork without conflicts.
|
||||
|
||||
|
||||
Problem it solves:
|
||||
Multiple people edit the same file → overwrite problem.
|
||||
|
||||
|
||||
Old version ku back poganum na kashtam.
|
||||
|
||||
|
||||
Example:
|
||||
School project / Google Docs → many people editing the same file
|
||||
|
||||

|
||||
|
||||
## 2. Installing Git & Configuring User Info
|
||||
|
||||
|
||||

|
||||
|
||||
## 3. Initializing a Repository
|
||||

|
||||

|
||||
|
||||
## 4. Working Directory, Staging, and Commits
|
||||

|
||||
|
||||
## 5. Adding & Committing Files
|
||||

|
||||
|
||||
## 6. Viewing Commit Logs & Diffs
|
||||
|
||||

|
||||

|
||||

|
||||
|
||||
## 7. Creating & Switching Branches
|
||||

|
||||

|
||||

|
||||
|
||||
## 8. Cloning a Remote Repository
|
||||

|
||||
|
||||
## 9. Adding & Managing Remotes
|
||||

|
||||
|
||||
## 10. Pushing & Pulling Changes
|
||||

|
||||

|
||||
|
||||
|
||||
## 11. Ignoring Files with .gitignore
|
||||

|
||||

|
3
example.txt
Normal file
@ -0,0 +1,3 @@
|
||||
Hello World
|
||||
Today Tech Tharsday
|
||||
Mark my words
|
BIN
git status before ignore.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
git_branch.png
Normal file
After Width: | Height: | Size: 4.9 KiB |
BIN
git_checkout.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
git_clone.png
Normal file
After Width: | Height: | Size: 43 KiB |
BIN
git_config.png
Normal file
After Width: | Height: | Size: 30 KiB |
BIN
git_diff.png
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 60 KiB |
BIN
git_log.png
Normal file
After Width: | Height: | Size: 56 KiB |
BIN
git_log_oneline.png
Normal file
After Width: | Height: | Size: 28 KiB |
1
git_practice/git-practice-solomon
Submodule
BIN
git_pull.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
git_push.png
Normal file
After Width: | Height: | Size: 50 KiB |
BIN
git_remote.png
Normal file
After Width: | Height: | Size: 37 KiB |
BIN
git_switch.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
gitignore.png
Normal file
After Width: | Height: | Size: 24 KiB |