* How to change the index for git status?
@ 2012-02-04 20:06 Peng Yu
2012-02-04 20:08 ` Peng Yu
0 siblings, 1 reply; 3+ messages in thread
From: Peng Yu @ 2012-02-04 20:06 UTC (permalink / raw)
To: git
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* How to change the index for git status?
2012-02-04 20:06 How to change the index for git status? Peng Yu
@ 2012-02-04 20:08 ` Peng Yu
2012-02-04 21:24 ` PJ Weisberg
0 siblings, 1 reply; 3+ messages in thread
From: Peng Yu @ 2012-02-04 20:08 UTC (permalink / raw)
To: git
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to change the index for git status?
2012-02-04 20:08 ` Peng Yu
@ 2012-02-04 21:24 ` PJ Weisberg
0 siblings, 0 replies; 3+ messages in thread
From: PJ Weisberg @ 2012-02-04 21:24 UTC (permalink / raw)
To: Peng Yu; +Cc: git
On Sat, Feb 4, 2012 at 12:08 PM, Peng Yu <pengyu.ut@gmail.com> 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-02-04 21:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-04 20:06 How to change the index for git status? Peng Yu
2012-02-04 20:08 ` Peng Yu
2012-02-04 21:24 ` PJ Weisberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).