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

Re: using merge subtree and move it..

From
MJMilos Jakubicek <xjakub@fi.muni.cz>
Date
Nov 3, 2009, 02:57 UTC
Message-ID
<1257217035802-3936273.post@n2.nabble.com>
In-Reply-To
<48C64911.4020202@posdata.co.kr>
SungHyun Nam wrote:
Show 7 quoted lines
> 
> 
> BTW, I have no idea how I can push 'local changes in subtree' to remote.
> The 'Additional tips' in using-merge-subtree.txt said it is
> possible using subtree. But don't know how? Could someone show me
> a sample command/setup sequence?
> 

I found out: edit your .git/config file and in the [remote "remotename"] section, copy the "fetch =" line as "push =" line (with same content after "="). Then by "git push remotename" you'll just push the relevant subtree.

-- 
View this message in context: http://n2.nabble.com/using-merge-subtree-and-move-it-tp1076542p3936273.html
Sent from the git mailing list archive at Nabble.com.
Previous: SungHyun Nam
Message 4 of 4 in “using merge subtree and move it..”
  1. SungHyun NamSep 9, 2008
  2. Johannes SixtSep 9, 2008
  3. SungHyun NamSep 9, 2008
  4. Milos JakubicekNov 3, 2009

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.