Re: policy and mechanism for less-connected clients
- Date: Wed, 25 Jun 2008 15:13:15 -0700
- From: Junio C Hamano <gitster@xxxxxxxxx>
- Subject: Re: policy and mechanism for less-connected clients
"David Jeske" <jeske@xxxxxxxxxxxxxx> writes:
>> : "ncvs up" ->
>> :
>> : git stash; git pull; git apply;
First of all, if you are in CVS mindset, you may not want to necessarily
do "git pull", but "git fetch" followed by "git rebase".
I suspect the last one in the above sequence of yours is "git stash pop".
Definitely not "git apply" without any argument which is a no-op.
>> : git diff --stat <baseof:current branch> - un-pushed filenames
"git diff [--options] origin..." (three-dots) is often used. This is a
shorthand for:
git diff [--options] $(git merge-base origin HEAD) HEAD
that is, "show me what I did since I forked from origin".
>> : git-show-branch <current branch> - un-pushed comments
This would be useful if you are using "fetch + rebase", but in any case
git log --graph --pretty=oneline origin..
may be prettier these days. --graph is a recent invention that appeared
first in 1.5.6.
> Question: How do I create a branch on a remote repo when I'm on
> my local machine, without sshing to it?
I hope that the question is not "How do I do anything on a remote without
having any network connection to it" as its answer cannot be anything but
"telepathy".
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html