You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by jo...@apache.org on 2014/06/29 02:58:41 UTC

git commit: [#5700] Changed deprecated set-upstream to set-upstream-to

Repository: allura
Updated Branches:
  refs/heads/cj/5700 [created] 24bb8fc7a


[#5700] Changed deprecated set-upstream to set-upstream-to


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/24bb8fc7
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/24bb8fc7
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/24bb8fc7

Branch: refs/heads/cj/5700
Commit: 24bb8fc7adef7700b712b99cc263680e48733a27
Parents: 4ee0a8c
Author: Cory Johns <jo...@gmail.com>
Authored: Sat Jun 28 20:56:06 2014 -0400
Committer: Cory Johns <jo...@gmail.com>
Committed: Sat Jun 28 20:56:06 2014 -0400

----------------------------------------------------------------------
 ForgeGit/forgegit/templates/git/index.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/24bb8fc7/ForgeGit/forgegit/templates/git/index.html
----------------------------------------------------------------------
diff --git a/ForgeGit/forgegit/templates/git/index.html b/ForgeGit/forgegit/templates/git/index.html
index 4ef57ea..8803cc4 100644
--- a/ForgeGit/forgegit/templates/git/index.html
+++ b/ForgeGit/forgegit/templates/git/index.html
@@ -64,7 +64,7 @@ git add .
 git commit -a -m 'Initial commit'
 git remote add origin {{c.app.repo.clone_url('rw', c.user.username)}}
 git push origin master
-git branch --set-upstream master origin/master  # so 'git pull' will work later</pre>
+git branch --set-upstream-to master origin/master  # so 'git pull' will work later</pre>
     </div>
 
     <h2>Existing repository using Git</h2>
@@ -73,7 +73,7 @@ git branch --set-upstream master origin/master  # so 'git pull' will work later<
       <pre>cd myproject
 git remote add origin {{c.app.repo.clone_url('rw', c.user.username)}}
 git push origin master
-git branch --set-upstream master origin/master  # so 'git pull' will work later</pre>
+git branch --set-upstream-to master origin/master  # so 'git pull' will work later</pre>
     </div>
     &nbsp;
     <div class="message info scm-ssh-key">