You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Docs/1_General/1.3_GitWorkflow.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
Branches are a deviation or split from the main branch that can be adding or removing a specific feature
6
6
For example, I can open a branch to work on a new doc page for this training repo.
7
7
Since I am on my own branch, I am not interfering with the main branch's commit history, which is supposed to be kept clean.
8
-
A "clean" commit history is made up of large, well named commits to make it easy to quickly skim recent changes.
8
+
A "clean" commit history is made up of large, well named commits to make it easy to quickly skim recent changes.git push --set-upstream origin <branchname>`
9
9
Because I am on my own branch, another student can also work on their own article without fear of interfering with my work.
10
10
11
11
To create a branch run:
@@ -17,7 +17,7 @@ Otherwise you can use `git status` to check your branch.
17
17
18
18
Right now, this branch is only local to your computer.
19
19
To upload this branch to the remote repository so others can view it:
20
-
`git push --set-upstream origin <branch name>`
20
+
`
21
21
22
22
Once you have pushed the branch for the first time, it should show up on GitHub and be accessible by others.
23
23
Use `git push` without the rest to push any further commits.
@@ -83,5 +83,6 @@ If you feel unsure of what you need to do, ask a lead or mentor ASAP!
0 commit comments