How to change the index for git status?

3 messages, 2 authors, 2016-06-15 · open the first message on its own page

How to change the index for git status?

From: Peng Yu <hidden>
Date: 2016-06-15 22:52:56

Hi,

When I run git status, it show the status compared against the branch
upstream/develop. I want it to compare against origin/develop. I
checked progit. But I don't see how to change the branch to compare
to. Could anybody let me know how to do so? Thanks!

~/dvcs_src/craftyjs1/Crafty/build/api$ git status
# On branch 2D_doc_dev
# Your branch is ahead of 'upstream/develop' by 2 commits.
#
nothing to commit (working directory clean)


-- 
Regards,
Peng

How to change the index for git status?

From: Peng Yu <hidden>
Date: 2016-06-15 22:52:56

Hi,

When I run git status, it show the status compared against the branch
upstream/develop. I want it to compare against origin/develop. I
checked progit. But I don't see how to change the branch to compare
to. Could anybody let me know how to do so? Thanks!

~/dvcs_src/craftyjs1/Crafty/build/api$ git status
# On branch 2D_doc_dev
# Your branch is ahead of 'upstream/develop' by 2 commits.
#
nothing to commit (working directory clean)


--
Regards,
Peng

Re: How to change the index for git status?

From: PJ Weisberg <hidden>
Date: 2016-06-15 22:52:57

On Sat, Feb 4, 2012 at 12:08 PM, Peng Yu [off-list ref] wrote:
Hi,

When I run git status, it show the status compared against the branch
upstream/develop. I want it to compare against origin/develop. I
checked progit. But I don't see how to change the branch to compare
to. Could anybody let me know how to do so? Thanks!

~/dvcs_src/craftyjs1/Crafty/build/api$ git status
# On branch 2D_doc_dev
# Your branch is ahead of 'upstream/develop' by 2 commits.
#
nothing to commit (working directory clean)
git branch --set-upstream 2D_doc_dev origin/develop

-PJ

Gehm's Corrollary to Clark's Law: Any technology distinguishable from
magic is insufficiently advanced.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help