File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -90,18 +90,6 @@ Protocols:
9090
9191---
9292
93-
94-
95- ``` java
96- $git graph
97- * 2e56d0a (HEAD - > main, upstream/ main, origin/ main, origin/ HEAD ) text of exercise git diff usage
98- * 22a7316 Adding yet more lectures
99- * 0ddb791 Adding some more of the lectures
100- * 3ff9f8f Adding some of the lectures
101- ```
102-
103- ---
104-
10593## Working with remotes
10694One can push or fetch/pull to or from remotes:
10795
@@ -429,6 +417,18 @@ upstream git@github.com:bobuser2020/my-first-project.git (fetch)
429417upstream git@github . com: bobuser2020/ my- first- project. git (push)
430418```
431419
420+ ---
421+
422+
423+
424+ ``` java
425+ $git graph
426+ * 2e56d0a (HEAD - > main, upstream/ main, origin/ main, origin/ HEAD ) text of exercise git diff usage
427+ * 22a7316 Adding yet more lectures
428+ * 0ddb791 Adding some more of the lectures
429+ * 3ff9f8f Adding some of the lectures
430+ ```
431+
432432Alice can used the forked repository as the * origin* where she can put her changes. The * upstream* remote
433433will help her to be updated with the latest changes from Bob (Github will show messages) but she won't be
434434able to commit changes to Bob's repo (without permissions).
You can’t perform that action at this time.
0 commit comments