git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Martin Langhoff" <martin.langhoff@gmail.com>
To: "Daniel Barkalow" <barkalow@iabervon.org>
Cc: git@vger.kernel.org
Subject: Re: Things that surprise naive users
Date: Thu, 19 Apr 2007 11:57:46 +1200	[thread overview]
Message-ID: <46a038f90704181657i540e8468xf2809e81e5cf7ac5@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0704181503080.27922@iabervon.org>

On 4/19/07, Daniel Barkalow <barkalow@iabervon.org> wrote:
> 2. There's no easy way to tell that you've made commits that you haven't
>    pushed upstream. In fact, it's impossible to tell when disconnected
>    whether you've pushed everything. This needs some command to report it,
>    and also for push to update the fetch sides of remote heads it updates.

Cogito does this (push updating the refs), and I like it. I think it's
worth doing. Then git-branch -v could flag pending-to-push local
branches.

> 3. You can't create a new repository by pushing, even if you could
>    actually create the repository. Obviously, this will be blocked by
>    policy more often than pushing in general would be, but it's not
>    always blocked. It's also harder than it should be to turn a repository
>    created locally into a repository identical in configuration to a clone
>    of a newly-created remote repository.

It's not too hard to do a

      git-publish git+ssh://host/path/to/repo.git

that just does a git init or maybe rsyncs out.

> 4. Creating new branches off of existing branches/remotes doesn't
>    configure the new branches in the obvious way (i.e., such that the
>    default update action matches the create action).

Junio was pointing out recently that there's an option for that -
pull.automerge I think - that you can set in your /etc/gitconfig. Or
you can say --track

cheers,



martin

      parent reply	other threads:[~2007-04-18 23:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-18 20:55 Things that surprise naive users Daniel Barkalow
2007-04-18 21:16 ` Steve Frécinaux
2007-04-18 22:28   ` Daniel Barkalow
2007-04-18 23:57 ` Martin Langhoff [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46a038f90704181657i540e8468xf2809e81e5cf7ac5@mail.gmail.com \
    --to=martin.langhoff@gmail.com \
    --cc=barkalow@iabervon.org \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).