git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git push refspec problem

From
Pierre Habouzit <madcoder@debian.org>
Date
Nov 7, 2007, 15:38 UTC
Message-ID
<20071107153852.GM18057@artemis.corp>
In-Reply-To
<4731D918.6040106@hackvalue.de>
On Wed, Nov 07, 2007 at 03:26:16PM +0000, Johannes Gilger wrote:
Show 8 quoted lines
> James wrote:
> > There has to be *some* way of pulling through git and pushing through
> > ssh with a simple "git push".  :-P  I'm doing it manually, after all.  I
> > could have sworn I've read how to do its somewhere but have since
> > forgotten.
> 
> Would two remotes do the trick? One remote only has a fetch entry
> while the other one has a push entry.
  Yes you can do that, but that means you have to spell out the remote
name either for fetching or pushing which somehow sucks :)
-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org
Previous: Johannes GilgerNext: Johannes Gilger
Message 6 of 10 in “git push refspec problem”
  1. JamesNov 7, 2007
  2. Johannes SchindelinNov 7, 2007
  3. Pierre HabouzitNov 7, 2007
  4. JamesNov 7, 2007
  5. Johannes GilgerNov 7, 2007
  6. Pierre HabouzitNov 7, 2007
  7. Johannes GilgerNov 7, 2007
  8. JamesNov 7, 2007
  9. Daniel BarkalowNov 7, 2007
  10. Johannes SchindelinNov 7, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.