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.
Here my story.
Let's call "upstream" the local branch connected to the SVN, the raw
SVN mirror branch is remotes/upstream. Now, I create a branch "topic"
from "upstream" and I do job:
o--o--o (upstream, remotes/upstream)
\
o--o--o--o (topic)
I want the following result:
o--o--o-------------- o (upstream, remotes/upstream)
\ /
o--o--o--o (topic)
So I did "git-merge "Merge" upstream topic". But, the merge action
decided to do a fast-forward. It's not correct because I really don't
want to "pollute" the SVN with all my commits.
So I rewinded and I did "git-merge --squash "Merge" upstream topic".
This time, it seems to work as I obtained a single commit on upstream
branch. But this commit does not have ancestry link with the topic
branch. Here is it:
o--o--o--o (upstream, remotes/upstream)
\
o--o--o--o (topic)
Is there a way to do what I want?
--
Guilhem BONNEFILLE
-=- #UIN: 15146515 JID: guyou@im.apinc.org MSN: guilhem_bonnefille@hotmail.com
-=- mailto:guilhem.bonnefille@gmail.com
-=- http://nathguil.free.fr/
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
| Eric Hopper | Question about Reiser4 |
| Greg Kroah-Hartman | [PATCH 005/196] Chinese: add translation of SubmittingDrivers |
| Linus Torvalds | Linux 2.6.27-rc8 |
| Nigel Kukard | SATA problems |
git: | |
| Junichi Uekawa | Re: [ANNOUNCE] GIT 1.5.4 |
| Miles Bader | way to automatically add untracked files? |
| Michael Hendricks | removing content from git history |
| Thomas Glanzmann | SLES 10 git packages |
| Adrian Bunk | Re: [BUG] New Kernel Bugs |
| Auke Kok | [PATCH] e1000e: test MSI interrupts |
| Felix Radensky | RE: e1000e "Detected Tx Unit Hang" |
| Jesper Dangaard Brouer | [PATCH 0/2] HTB scheduler HTB_HYSTERESIS modifications |
| Jonathan Steel | Performance Issues of Intel Quad Port NIC |
| Prabhu Gurumurthy | Re: Problems with second ipsec(ctl) tunnel |
| Iñigo | Re: Real men don't attack straw men |
| Steve B | Intel Atom and D945GCLF2 |
| VPN's on NetBSD | 4 hours ago | NetBSD |
| Why does uClinux 2.6.18 bootup block SuperIO UART IRQs that BIOS configured | 6 hours ago | Linux kernel |
| USB statistics | 7 hours ago | Linux kernel |
| Block Sub System query | 11 hours ago | Linux kernel |
| kernel module to intercept socket creation | 12 hours ago | Linux kernel |
| Image size changing during each build | 13 hours ago | Linux kernel |
| Soft lock bug | 18 hours ago | Linux kernel |
| sysctl - dynamic registration problem | 1 day ago | Linux kernel |
| Question on swap as ramdisk partition | 1 day ago | Linux kernel |
| serial driver xmit problem | 1 day ago | Linux kernel |
