diff --git a/GIT_ASSIGNMENT.md b/GIT_ASSIGNMENT.md index 70c69d0..9f3ae4d 100644 --- a/GIT_ASSIGNMENT.md +++ b/GIT_ASSIGNMENT.md @@ -1,5 +1,53 @@ -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 -- ![] \ No newline at end of file +## 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 + + ![alt text](git_version.png) + +## 2. Installing Git & Configuring User Info + + +![alt text](git_config.png) + +## 3. Initializing a Repository +![alt text](git_init.png) +![alt text](git_status.png) + +## 4. Working Directory, Staging, and Commits +![alt text](git_commit.png) + +## 5. Adding & Committing Files +![alt text](git_commit.png) + +6. Viewing Commit Logs & Diffs + +![alt text](git_log_oneline.png) +![alt text](git_log.png) +![alt text](git_diff.png) + +## 7. Creating & Switching Branches +![alt text](git_checkout.png) +![alt text](git_branch.png) +![alt text](git_switch.png) + +## 8. Cloning a Remote Repository +![alt text](git_clone.png) + +## 9. Adding & Managing Remotes +![alt text](git_remote.png) + +10. Pushing & Pulling Changes +![alt text](git_pull.png) diff --git a/git_branch.png b/git_branch.png new file mode 100644 index 0000000..f2e77ea Binary files /dev/null and b/git_branch.png differ diff --git a/git_checkout.png b/git_checkout.png new file mode 100644 index 0000000..1755adc Binary files /dev/null and b/git_checkout.png differ diff --git a/git_clone.png b/git_clone.png new file mode 100644 index 0000000..de51330 Binary files /dev/null and b/git_clone.png differ diff --git a/git_config.png b/git_config.png new file mode 100644 index 0000000..bd19b2e Binary files /dev/null and b/git_config.png differ diff --git a/git_diff.png b/git_diff.png index 0324712..0ff26a4 100644 Binary files a/git_diff.png and b/git_diff.png differ diff --git a/git_log.png b/git_log.png new file mode 100644 index 0000000..3efdcda Binary files /dev/null and b/git_log.png differ diff --git a/git_log_oneline.png b/git_log_oneline.png new file mode 100644 index 0000000..8ba37f4 Binary files /dev/null and b/git_log_oneline.png differ diff --git a/git_practice/git-practice-solomon b/git_practice/git-practice-solomon new file mode 160000 index 0000000..26314c7 --- /dev/null +++ b/git_practice/git-practice-solomon @@ -0,0 +1 @@ +Subproject commit 26314c765c36540df6ea9f66b613a4b098f488c4 diff --git a/git_pull.png b/git_pull.png new file mode 100644 index 0000000..3460063 Binary files /dev/null and b/git_pull.png differ diff --git a/git_remote.png b/git_remote.png new file mode 100644 index 0000000..a7028a7 Binary files /dev/null and b/git_remote.png differ diff --git a/git_switch.png b/git_switch.png new file mode 100644 index 0000000..976eaac Binary files /dev/null and b/git_switch.png differ