浏览代码

Updates private fork instructions.

John Washam 2 年之前
父节点
当前提交
c25761b685
共有 1 个文件被更改,包括 7 次插入9 次删除
  1. 7 9
      README.md

+ 7 - 9
README.md

@@ -247,21 +247,19 @@ Create a new branch so you can check items like this, just put an x in the brack
 1. Clone to your local repo:
 
     ```
-    git clone git@github.com:<your_github_username>/coding-interview-university.git
+    git clone https://github.com/<YOUR_GITHUB_USERNAME>/coding-interview-university.git
     cd coding-interview-university
-    git checkout -b progress
-    git remote add jwasham https://github.com/jwasham/coding-interview-university
-    git fetch --all
+    git remote add upstream https://github.com/jwasham/coding-interview-university.git
+    git remote set-url --push upstream DISABLE  # so that you don't push your personal progress back to the original repo
     ```
 
 1. Mark all boxes with X after you completed your changes:
 
     ```
-    git add .
-    git commit -m "Marked x"
-    git rebase jwasham/main
-    git push --set-upstream origin progress
-    git push --force
+    git commit -am "Marked personal progress"
+    git pull upstream main  # keep your fork up-to-date with changes from the original repo
+   
+    git push # just pushes to your fork
     ```
 
 ## Don't feel you aren't smart enough