Skip to content

Commit 0b21c28

Browse files
Update obsolete command line argument
--set-upstream-to is the replacement for --set-upstream
1 parent 4a7143e commit 0b21c28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/05-distributed-git/sections/contributing.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ To jessica@githost:simplegit.git
412412

413413
This is called a _refspec_.
414414
See <<_refspec>> for a more detailed discussion of Git refspecs and different things you can do with them.
415-
Also notice the `-u` flag; this is short for `--set-upstream`, which configures the branches for easier pushing and pulling later.
415+
Also notice the `-u` flag; this is short for `--set-upstream-to`, which configures the branches for easier pushing and pulling later.
416416

417417
Next, John emails Jessica to say he's pushed some changes to the `featureA` branch and asks her to verify them.
418418
She runs a `git fetch` to pull down those changes:

0 commit comments

Comments
 (0)