Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MyFirstContribution: use switch for changing branches #1712

Open
wants to merge 1 commit into
base: maint
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Documentation/MyFirstContribution.txt
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ branch of the upstream project. Create the `psuh` branch you will use for
development like so:

----
$ git checkout -b psuh origin/master
$ git switch -c psuh origin/master
----

We'll make a number of commits here in order to demonstrate how to send a topic
Expand Down Expand Up @@ -878,7 +878,7 @@ on `master`, so go ahead and update as shown below, or using your preferred
workflow.

----
$ git checkout master
$ git switch master
$ git pull -r
$ git rebase master psuh
----
Expand Down Expand Up @@ -1139,7 +1139,7 @@ We'll reuse our `psuh` topic branch for v2. Before we make any changes, we'll
mark the tip of our v1 branch for easy reference:

----
$ git checkout psuh
$ git switch psuh
$ git branch psuh-v1
----

Expand Down
Loading