Skip to content

Commit 1be1854

Browse files
committed
Remotes: repository from scratch
1 parent c734e2b commit 1be1854

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/remotes.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,13 @@ origin git@bitbucket.org:arm2011/gitcourse.git (push)
4141
```
4242

4343

44-
displays the remotes that are already set up where you can *fetch* and *pull* changes. In this case there is only a single remoted called **origin**.
44+
displays the remotes that are already set up where you can *fetch* and *pull* changes. In this case there is only a single remoted called **origin** because I cloned the repository from the remote repository *arm2011/gitcourse.git*. If you created your repository from
45+
scratch (**git init**), you will not see any output from *git remote*.
4546

4647
---
4748

49+
In a repository containing an *origin* remote, one can see the following output with the
50+
*git graph* command (an alias that we created in the **Basic Commands** session):
4851

4952
```java
5053
$ git graph
@@ -85,7 +88,7 @@ Protocols:
8588

8689
---
8790

88-
Why do we need more than one remote?
91+
Do we need more than one remote?
8992

9093

9194
```mermaid

0 commit comments

Comments
 (0)