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: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,9 @@ instead of `npm`.
13
13
- clone your fork to your local machine: `git clone https://github.com/YOUR_USERNAME/nodejs-2019-homeworks.git`
14
14
- add this repository as an upstream: `git remote add upstream https://github.com/kottans/nodejs-2019-homeworks.git`
15
15
- for every new task you're gonna submit, in your local repository:
16
-
-`git checkout master` and then create new branch, name it according to task performed (aka feature branch): `git checkout -b port-sniffer`. In this example feature branch is named `port-sniffer`
16
+
-`git checkout master && git pull upstream master && git push origin` to update your fork from the base repo
17
+
-`git checkout master` and then create new branch, name it according to task performed (aka feature branch): `git checkout -b port-sniffer`. In this example feature branch is named `port-sniffer`.
18
+
Make sure you never commit into `master` directly or you may face code conflicts.
17
19
- add a folder with your github name under `submissions` (if you haven't yet)
18
20
- under your name folder, add a folder with task name and put your code in the folder
0 commit comments