diff --git a/Config.png b/Config.png new file mode 100644 index 0000000..51f197a Binary files /dev/null and b/Config.png differ diff --git a/GIT_ASSIGNMENT.md b/GIT_ASSIGNMENT.md new file mode 100644 index 0000000..0a76fca --- /dev/null +++ b/GIT_ASSIGNMENT.md @@ -0,0 +1,77 @@ + + +# Git Assignment + +## 1. What is Git and Version Control + +What problem does Git solve? +Git solves the problem of tracking changes in code and coordinating work across multiple developers. + +Real-life example where multiple people edit the same file: +Real-life example: Several people editing a shared report in Word at the same time leads to conflicts and lost edits. + +Why is version control better than emailing files back and forth? +Version control is better than emailing files because it keeps a single source of truth with automatic history and collaboration tools. + + +## Git Version Check + +![Git version check](git.version.png) + +--- + +## 2. Installing Git & Configuring User Info + +![Git status](Config.png) + +--- + +## Git List + +![Git status](git.list.png) + +--- + +## 3. Initializing a Repository + +## Git Init + +![Git add](git_int.png) + +--- + +## 4. Working Directory, Staging, and Commits + +## Git Add + +![Git add](add_commit.png) + +--- + +## 5. Adding & Committing Files + +## Git Log +![Git log](git_log.png) + +--- + +## 6. Viewing Commit Logs & Diffs + +## Git Log (graph) + +![Git log graph](git log_oneline.png) + +--- + +## Git Diff + +![Git diff](git_diff.png) + +--- + +## Git Diff (commit1 vs commit2) + +![Git diff between two commits](git_diff_between_commits.png) + +--- + diff --git a/Screenshot 2025-08-20 181514.png b/Screenshot 2025-08-20 181514.png new file mode 100644 index 0000000..328e51f Binary files /dev/null and b/Screenshot 2025-08-20 181514.png differ diff --git a/Screenshot 2025-08-20 212002.png b/Screenshot 2025-08-20 212002.png new file mode 100644 index 0000000..f6efbde Binary files /dev/null and b/Screenshot 2025-08-20 212002.png differ diff --git a/add_commit.png b/add_commit.png new file mode 100644 index 0000000..d7f16f1 Binary files /dev/null and b/add_commit.png differ diff --git a/add_notes.png b/add_notes.png new file mode 100644 index 0000000..57758c3 Binary files /dev/null and b/add_notes.png differ diff --git a/add_todo.png b/add_todo.png new file mode 100644 index 0000000..ea79486 Binary files /dev/null and b/add_todo.png differ diff --git a/get_status.png b/get_status.png new file mode 100644 index 0000000..470339d Binary files /dev/null and b/get_status.png differ diff --git a/git log_oneline.png b/git log_oneline.png new file mode 100644 index 0000000..2ab18ad Binary files /dev/null and b/git log_oneline.png differ diff --git a/git.list.png b/git.list.png new file mode 100644 index 0000000..05dc4df Binary files /dev/null and b/git.list.png differ diff --git a/git.version.png b/git.version.png new file mode 100644 index 0000000..e59c727 Binary files /dev/null and b/git.version.png differ diff --git a/git_diff.png b/git_diff.png new file mode 100644 index 0000000..11c2cda Binary files /dev/null and b/git_diff.png differ diff --git a/git_int.png b/git_int.png new file mode 100644 index 0000000..5485e00 Binary files /dev/null and b/git_int.png differ diff --git a/git_log.png b/git_log.png new file mode 100644 index 0000000..2abe0e2 Binary files /dev/null and b/git_log.png differ diff --git a/notes.txt b/notes.txt new file mode 100644 index 0000000..a2a804c --- /dev/null +++ b/notes.txt @@ -0,0 +1 @@ +"This is a new note line" diff --git a/todo.txt b/todo.txt new file mode 100644 index 0000000..f4fea82 --- /dev/null +++ b/todo.txt @@ -0,0 +1,2 @@ +"My first todo item" +"Another task to do"