Skip to content

Commit a4531c8

Browse files
authored
Merge pull request #1157 from SuhaibMujahid/patch-1
Small edit to 10.5 Git Internals - The Refspec
2 parents d5eb27a + 5d0a884 commit a4531c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/10-git-internals/sections/refspec.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Running the command above adds a section to your repository's `.git/config` file
2121
The format of the refspec is, first, an optional `+`, followed by `<src>:<dst>`, where `<src>` is the pattern for references on the remote side and `<dst>` is where those references will be tracked locally.
2222
The `+` tells Git to update the reference even if it isn't a fast-forward.
2323

24-
In the default case that is automatically written by a `git remote add` command, Git fetches all the references under `refs/heads/` on the server and writes them to `refs/remotes/origin/` locally.
24+
In the default case that is automatically written by a `git remote add origin` command, Git fetches all the references under `refs/heads/` on the server and writes them to `refs/remotes/origin/` locally.
2525
So, if there is a `master` branch on the server, you can access the log of that branch locally via any of the following:
2626

2727
[source,console]

0 commit comments

Comments
 (0)