{"thread":{"id":"29547","subject":"How to change the index for git status?","startedAt":"2012-02-04T20:06:28Z","lastAt":"2012-02-04T21:24:29Z","messageCount":3,"participants":["Peng Yu","PJ Weisberg"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"183858","messageId":"CABrM6wm2MochqgC0+FByDA-6nmo0XHtZy1FDXJRkc30+2eyiTw@mail.gmail.com","threadId":"29547","inReplyTo":null,"subject":"How to change the index for git status?","fromName":"Peng Yu","fromEmail":"pengyu.ut@gmail.com","sentAt":"2012-02-04T20:06:28Z","receivedAt":"2012-02-04T20:06:28Z","isPatch":false,"sender":{"key":"pengyu.ut@gmail.com","avatar":null},"body":"Hi,\n\nWhen I run git status, it show the status compared against the branch\nupstream/develop. I want it to compare against origin/develop. I\nchecked progit. But I don't see how to change the branch to compare\nto. Could anybody let me know how to do so? Thanks!\n\n~/dvcs_src/craftyjs1/Crafty/build/api$ git status\n# On branch 2D_doc_dev\n# Your branch is ahead of 'upstream/develop' by 2 commits.\n#\nnothing to commit (working directory clean)\n\n\n-- \nRegards,\nPeng\n"},{"id":"183860","messageId":"CABrM6wngVDotJoe3Yi5cA_n=JWpLa+M35QEeoKqr1tsp5GD3ng@mail.gmail.com","threadId":"29547","inReplyTo":"CABrM6wm2MochqgC0+FByDA-6nmo0XHtZy1FDXJRkc30+2eyiTw@mail.gmail.com","subject":"How to change the index for git status?","fromName":"Peng Yu","fromEmail":"pengyu.ut@gmail.com","sentAt":"2012-02-04T20:08:33Z","receivedAt":"2012-02-04T20:08:33Z","isPatch":false,"sender":{"key":"pengyu.ut@gmail.com","avatar":null},"body":"Hi,\n\nWhen I run git status, it show the status compared against the branch\nupstream/develop. I want it to compare against origin/develop. I\nchecked progit. But I don't see how to change the branch to compare\nto. Could anybody let me know how to do so? Thanks!\n\n~/dvcs_src/craftyjs1/Crafty/build/api$ git status\n# On branch 2D_doc_dev\n# Your branch is ahead of 'upstream/develop' by 2 commits.\n#\nnothing to commit (working directory clean)\n\n\n--\nRegards,\nPeng\n"},{"id":"183868","messageId":"CAJsNXTkM4P7DUGofBT9f3KZQNe38v18eu2WM4UXsSmAsN813VQ@mail.gmail.com","threadId":"29547","inReplyTo":"CABrM6wngVDotJoe3Yi5cA_n=JWpLa+M35QEeoKqr1tsp5GD3ng@mail.gmail.com","subject":"Re: How to change the index for git status?","fromName":"PJ Weisberg","fromEmail":"pj@irregularexpressions.net","sentAt":"2012-02-04T21:24:29Z","receivedAt":"2012-02-04T21:24:29Z","isPatch":false,"sender":{"key":"pj@irregularexpressions.net","avatar":"https://gravatar.com/avatar/aa2c1edcc61b536cc5c9f37fbce084e655446e2309f9818d43f13d47304a602b?d=mp&s=160"},"body":"On Sat, Feb 4, 2012 at 12:08 PM, Peng Yu <pengyu.ut@gmail.com> wrote:\n> Hi,\n>\n> When I run git status, it show the status compared against the branch\n> upstream/develop. I want it to compare against origin/develop. I\n> checked progit. But I don't see how to change the branch to compare\n> to. Could anybody let me know how to do so? Thanks!\n>\n> ~/dvcs_src/craftyjs1/Crafty/build/api$ git status\n> # On branch 2D_doc_dev\n> # Your branch is ahead of 'upstream/develop' by 2 commits.\n> #\n> nothing to commit (working directory clean)\n\ngit branch --set-upstream 2D_doc_dev origin/develop\n\n-PJ\n\nGehm's Corrollary to Clark's Law: Any technology distinguishable from\nmagic is insufficiently advanced.\n"}]}