diff --git a/GIT_ASSIGNMENT.md b/GIT_ASSIGNMENT.md new file mode 100644 index 0000000..99e8c8a --- /dev/null +++ b/GIT_ASSIGNMENT.md @@ -0,0 +1,57 @@ +## Git Assignment +## 1.Git Version Check +## what is git and version control +Version Control: + +Version control is a system used to record and manage changes made to files or code over time. It helps you to: +Keep track of modifications: Identify what was changed, when it was changed, and who made the changes. Recover from errors: Restore previous versions if something goes wrong. Git is a type of distributed version control system. Enable to work even without an internet connection and provide powerful tools for managing code changes. + +--- +## Real-life example where multiple people edit the same file: +In a project many person can work a same project we can track who is making what changes are made so we use git to track the changes. +--- +## Why is version control better than emailing files back and forth? +In email we can`t tarck the changes in the code.But in git we track the changes like who make it,time and old version of code. +![alt text](image.png) + +--- +## 2. Installing Git & Configuring User Info + +![alt text](image-1.png) +![alt text](image-2.png) +--- +## 3. Initializing a Repository + +![alt text](image-3.png) +--- + +## 4. Working Directory, Staging, and Commits + +![alt text](image-4.png) +--- +## 5. Adding & Committing Files +![alt text](image-5.png) +--- +## 6. Viewing Commit Logs & Diffs +![alt text](image-6.png) +![alt text](image-7.png) +![alt text](image-9.png) +--- +## 7. Creating & Switching Branches +![alt text](image-10.png) +--- +## 8. Cloning a Remote Repository +![alt text](image-11.png) +--- +## 9. Adding & Managing Remotes +![alt text](image-12.png) +--- +## 10. Pushing & Pulling Changes +![alt text](image-13.png) +![alt text](image-14.png) +--- +## 11. Ignoring Files with .gitignore + +![alt text](image-15.png) +![alt text](image-16.png) +![alt text](image-17.png) \ No newline at end of file diff --git a/git-practice-leowhiteson b/git-practice-leowhiteson new file mode 160000 index 0000000..3882967 --- /dev/null +++ b/git-practice-leowhiteson @@ -0,0 +1 @@ +Subproject commit 3882967d6059ae9ec354ffe1a7fb9c64392b3e07 diff --git a/image-1.png b/image-1.png new file mode 100644 index 0000000..8be1d7b Binary files /dev/null and b/image-1.png differ diff --git a/image-10.png b/image-10.png new file mode 100644 index 0000000..1ce87e3 Binary files /dev/null and b/image-10.png differ diff --git a/image-11.png b/image-11.png new file mode 100644 index 0000000..72ae810 Binary files /dev/null and b/image-11.png differ diff --git a/image-12.png b/image-12.png new file mode 100644 index 0000000..5ba7396 Binary files /dev/null and b/image-12.png differ diff --git a/image-13.png b/image-13.png new file mode 100644 index 0000000..a209e0c Binary files /dev/null and b/image-13.png differ diff --git a/image-14.png b/image-14.png new file mode 100644 index 0000000..2fb6a4d Binary files /dev/null and b/image-14.png differ diff --git a/image-15.png b/image-15.png new file mode 100644 index 0000000..ca29e4c Binary files /dev/null and b/image-15.png differ diff --git a/image-16.png b/image-16.png new file mode 100644 index 0000000..8510497 Binary files /dev/null and b/image-16.png differ diff --git a/image-17.png b/image-17.png new file mode 100644 index 0000000..28f6e0d Binary files /dev/null and b/image-17.png differ diff --git a/image-2.png b/image-2.png new file mode 100644 index 0000000..10e7fda Binary files /dev/null and b/image-2.png differ diff --git a/image-3.png b/image-3.png new file mode 100644 index 0000000..f09b91c Binary files /dev/null and b/image-3.png differ diff --git a/image-4.png b/image-4.png new file mode 100644 index 0000000..fc1e22a Binary files /dev/null and b/image-4.png differ diff --git a/image-5.png b/image-5.png new file mode 100644 index 0000000..9fa91c3 Binary files /dev/null and b/image-5.png differ diff --git a/image-6.png b/image-6.png new file mode 100644 index 0000000..b53a14a Binary files /dev/null and b/image-6.png differ diff --git a/image-7.png b/image-7.png new file mode 100644 index 0000000..a7c4d20 Binary files /dev/null and b/image-7.png differ diff --git a/image-8.png b/image-8.png new file mode 100644 index 0000000..cbfe824 Binary files /dev/null and b/image-8.png differ diff --git a/image-9.png b/image-9.png new file mode 100644 index 0000000..22a66ef Binary files /dev/null and b/image-9.png differ diff --git a/image.png b/image.png new file mode 100644 index 0000000..b6f66f3 Binary files /dev/null and b/image.png differ