58 lines
1.2 KiB
Markdown
58 lines
1.2 KiB
Markdown
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
|