File tree 1 file changed +26
-1
lines changed
1 file changed +26
-1
lines changed Original file line number Diff line number Diff line change 4
4
Hold down the ` control ` key and press the ` ~ ` key (right below the ` esc ` key).
5
5
6
6
## How to see your changes in a new tab:
7
- ` php -S localhost:3006 -t ./ `
7
+ ` php -S localhost:3006 -t ./ `
8
+
9
+ ## The right way to use git:
10
+ - ` git checkout main `
11
+ - ` git pull `
12
+ - ` git checkout <the name of your branch> `
13
+ - ` git merge main `
14
+ - (fix any "merge conflicts" if they exist)
15
+ - * DO WORK*
16
+ - ` git add . `
17
+ - ` git commit -m "<tell people what you just did with your code>" `
18
+ - ` git push ` (may need to do ` git push origin <the name of your branch> ` if that failed)
19
+ - Go to github.com and create a * pull request* (from your branch into the main branch)
20
+ - Rinse and repeat
21
+
22
+ ## Another way to use git:
23
+ - ` git checkout <the name of your branch> `
24
+ - * DO WORK*
25
+ - ` git add . `
26
+ - ` git commit -m "<tell people what you just did with your code>" `
27
+ - ` git fetch `
28
+ - ` git merge origin/main `
29
+ - (fix any "merge conflicts" if they exist)
30
+ - ` git push ` (may need to do ` git push origin <the name of your branch> ` if that failed)
31
+ - Go to github.com and create a * pull request* (from your branch into the main branch)
32
+ - Rinse and repeat
You can’t perform that action at this time.
0 commit comments