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

Re: git-svn and local only topic branch

From
Adam Roben <aroben@apple.com>
Date
May 1, 2007, 16:45 UTC
Message-ID
<0E0C5313-0DCA-4DE5-96C5-9AD74758B68A@apple.com>
In-Reply-To
<8b65902a0705010940pb3bfb16u624d470068351624@mail.gmail.com>
On May 1, 2007, at 9:40 AM, Guilhem Bonnefille wrote:
Show 7 quoted lines
> Hi,
>
> I'm using Git as a SVN frontend (via git-svn). Recently, I made a
> topic branch, I did some job on it and wish to "upload" my work (on
> the SVN). But, I do not want "pushing" all commits, I only want to
> create a single commit on the SVN, while keeping full commits on my
> Git repo. But I did not find how to do this.
    If you just want to make a commit to Subversion containing all the  
changes on your branch, then you should be able to do this:
git svn commit-diff upstream topic
    That will take the entire diff between upstream and your topic  
branch and make one commit to Subversion containing that diff.
-Adam
Previous: Guilhem BonnefilleNext: Guilhem Bonnefille
Message 2 of 6 in “git-svn and local only topic branch”
  1. Guilhem BonnefilleMay 1, 2007
  2. Adam RobenMay 1, 2007
  3. Guilhem BonnefilleMay 1, 2007
  4. Andy ParkinsMay 1, 2007
  5. Steven GrimmMay 2, 2007
  6. Guilhem BonnefilleMay 3, 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.