summaryrefslogtreecommitdiffstats
path: root/src/site/tickets_using.mkd
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-05-05 13:31:56 -0400
committerJames Moger <james.moger@gitblit.com>2014-05-05 13:31:56 -0400
commitd69d73e5da5a12f279d5c0c38c871801739f33d6 (patch)
tree4e00ca52982fc2e70d7b337272d5b3bb2d17ea9b /src/site/tickets_using.mkd
parent8f0f665b9ee4e2cd21e9e0d5d7cfc69b1d19b86f (diff)
downloadgitblit-d69d73e5da5a12f279d5c0c38c871801739f33d6.tar.gz
gitblit-d69d73e5da5a12f279d5c0c38c871801739f33d6.zip
Switch to -u from deprecated --set-upstream
Diffstat (limited to 'src/site/tickets_using.mkd')
-rw-r--r--src/site/tickets_using.mkd4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/site/tickets_using.mkd b/src/site/tickets_using.mkd
index 3936e00d..3cda7314 100644
--- a/src/site/tickets_using.mkd
+++ b/src/site/tickets_using.mkd
@@ -28,7 +28,7 @@ Any authenticated user who can clone your repository.
...add a single commit...
git push origin HEAD:refs/for/new
# read ticket id from server output
- git branch --set-upstream-to=origin/ticket/{id}
+ git branch -u origin/ticket/{id}
### Creating the first Patchset for an Existing Ticket
@@ -42,7 +42,7 @@ Any authenticated user who can clone your repository.
cd repo
git checkout -b ticket/{id}
...add one or more commits...
- git push --set-upstream origin ticket/{id}
+ git push -u origin ticket/{id}
### Safely adding commits to a Patchset for an Existing Ticket