git svn dcommit sends to wrong branch
- From
- Victor Engmark <victor.engmark@terreactive.ch>
- Date
- Jan 10, 2012, 16:18 UTC
- Message-ID
- <20120110161843.GC8196@victor>
Commands:
git svn clone -s -r 1:HEAD http://svn/repo cd repo git commit [thrice, in master only] git rebase --interactive HEAD~20 [i.e., started rebase in commits before the clone] [Merged two commits I had made *after* the clone] git commit ... git dcommit
This created commits on <http://svn/repo/branches/branch_name>! Why? Is it because HEAD~20's git-svn-id <http://svn/repo/branches/branch_name@22481> is on that branch?
And more importantly, how do I "replay" my commits on trunk?
-- terreActive AG Kasinostrasse 30 CH-5001 Aarau Tel: +41 62 834 00 55 Fax: +41 62 823 93 56 www.terreactive.ch Wir sichern Ihren Erfolg - seit 15 Jahren