Compare commits
25 Commits
404440cd92
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
44143d9ee5 | ||
|
|
f75a33f566 | ||
|
|
17c8527f7d | ||
|
|
27be8e4fc1 | ||
|
|
3de95f5224 | ||
|
|
7f1dfe7346 | ||
|
|
25953a4645 | ||
|
|
72a3d300f9 | ||
|
|
028072253e | ||
|
|
d44fba35e4 | ||
|
|
b7200d6232 | ||
|
|
1f3c0beb2f | ||
|
|
af40784005 | ||
|
|
30e8f162e5 | ||
|
|
6d6854bf69 | ||
|
|
450cd38898 | ||
|
|
058987368b | ||
|
|
ab35c1f11f | ||
|
|
0290f9c995 | ||
|
|
1242b4695c | ||
|
|
58e6514679 | ||
|
|
9f6b5d6576 | ||
|
|
c6a2c7a21c | ||
|
|
fcfd1c26e5 | ||
|
|
2e1a4a872b |
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
ese.txt
|
||||||
7
Demo/test1.js
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
import React from "react";
|
||||||
|
|
||||||
|
const test1 = () => {
|
||||||
|
return <div>test1dklfmvs;dfknlm</div>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export default test1;
|
||||||
7
Demo/test2.js
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
import React from "react";
|
||||||
|
|
||||||
|
const test2 = () => {
|
||||||
|
return <div>test2</div>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export default test2;
|
||||||
@@ -1,5 +1,98 @@
|
|||||||
## Git Assignment
|
## Git Assignment
|
||||||
|
|
||||||
## Git Version Check
|
## 1. What is Git and Version Control
|
||||||
|
|
||||||

|
1. Git helps multiple people work on the same files without losing each other's changes or creating a mess.
|
||||||
|
2. Four students writing a group essay where each person writes different sections, but sometimes they need to edit the same paragraphs.
|
||||||
|
3. Email creates confusion with multiple file versions and lost work, while Git tracks every change and lets everyone work together safely.
|
||||||
|
|
||||||
|
## 2. Installing Git & Configuring User Info
|
||||||
|
|
||||||
|
## 
|
||||||
|
|
||||||
|
3. Initializing a Repository
|
||||||
|
|
||||||
|

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

|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|

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

|
||||||
|
|
||||||
|
## Git Log (oneline)
|
||||||
|
|
||||||
|
## 
|
||||||
|
|
||||||
|
6. Viewing Commit Logs & Diffs
|
||||||
|
|
||||||
|
## Git Log (graph)
|
||||||
|
|
||||||
|
## 
|
||||||
|
|
||||||
|
## Git Diff
|
||||||
|
|
||||||
|
## 
|
||||||
|
|
||||||
|
## git diff <commit1> <commit2>
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## 7.Exploring Branches
|
||||||
|
|
||||||
|

|
||||||
|

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

|
||||||
|
|
||||||
|
## 9.Pull code from branch
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## 10.Checking Remote
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## 11.Ignore
|
||||||
|
|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
|
## 14: Viewing File History
|
||||||
|
|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
|
## 15: Git Blame
|
||||||
|
|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
|
## 16: Merging Branches
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|||||||
7
demo.js
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
import React from "react";
|
||||||
|
|
||||||
|
const demo = () => {
|
||||||
|
return <div>demo</div>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export default demo;
|
||||||
BIN
image-1.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
image-10.png
Normal file
|
After Width: | Height: | Size: 52 KiB |
BIN
image-11.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
image-12.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
image-13.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
image-14.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
image-15.png
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
image-16.png
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
image-17.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
image-18.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
image-19.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
image-2.png
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
image-20.png
Normal file
|
After Width: | Height: | Size: 50 KiB |
BIN
image-21.png
Normal file
|
After Width: | Height: | Size: 59 KiB |
BIN
image-22.png
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
image-23.png
Normal file
|
After Width: | Height: | Size: 89 KiB |
BIN
image-24.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
image-25.png
Normal file
|
After Width: | Height: | Size: 104 KiB |
BIN
image-26.png
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
image-27.png
Normal file
|
After Width: | Height: | Size: 56 KiB |
BIN
image-3.png
Normal file
|
After Width: | Height: | Size: 6.7 KiB |
BIN
image-4.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
image-5.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
image-6.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
image-7.png
Normal file
|
After Width: | Height: | Size: 48 KiB |
BIN
image-8.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
image-9.png
Normal file
|
After Width: | Height: | Size: 29 KiB |