Alex Riesen wrote:Yes, I currently have: ~/prgs/android/StateMachine ~/prgs/android/test2 ~/prgs/android/test-annotation I'd with 3 git repo's in StateMachine, test2 & test-annotation. Ideally I was thinking having using submodules as they separate but related. But not sure submodules are ready. So the above isn't what I want, but for grins I tried it, and got to this point: wink@ic2d1:$ cd StateMachine wink@ic2d1:$ cat .git/config [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true wink@ic2d1:$ git config remote.test2.url ../test2 wink@ic2d1:$ git config remote.test2.fetch 'refs/heads/*:refs/test2/*' wink@ic2d1:$ cat .git/config [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [remote "test2"] url = ../test2 fetch = refs/heads/*:refs/test2/* wink@ic2d1:$ git fetch test2 warning: no common commits remote: Counting objects: 24, done. remote: Compressing objects: 100% remote: (16/16), done. remote: Total 24 (delta 3), reused 0 (delta 0) Unpacking objects: 100% (24/24), done. From ../test2 * [new branch] master -> refs/test2/master wink@ic2d1:$ git checkout -b test2 test2/master Branch test2 set up to track remote branch refs/test2/master. Switched to a new branch "test2" wink@ic2d1:$ git status # On branch test2 nothing to commit (working directory clean) wink@ic2d1:$ git status # On branch test2 nothing to commit (working directory clean) wink@ic2d1:$ git branch -a master * test2 wink@ic2d1:$ git checkout master Switched to branch "master" wink@ic2d1:$ git checkout test2 Switched to branch "test2" So that worked, but as I mentioned not quite what I want as I want to "see" them all simultaneously. Starting over (restoring the original from a tar backup) this didn't work I get: wink@ic2d1:$ cd StateMachine wink@ic2d1:$ git merge ../test2/master ../test2/master - not something we can merge So the first suggestion works, but I don't want them as separate branches as I want to work on the simultaneously and they'll share common code. Another option I was thinking would work for me would be to use submodules. But I'm not sure submodules are ready for neophytes and maybe it doesn't do what I want? Thanks, Wink Saville - 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
| Linus Torvalds | Linux 2.6.27-rc5 |
| Linus Torvalds | Linux 2.6.27-rc8 |
| Tomasz Kłoczko | Is it time for remove (crap) ALSA from kernel tree ? |
| Linus Torvalds | Linux v2.6.27-rc1 |
git: | |
| Pierre Habouzit | git push (mis ?)behavior |
| Linus Torvalds | Re: Something is broken in repack |
| Michael J Gruber | gitignore: negating path patterns |
| Steven Grimm | StGIT vs. guilt: What's the difference? |
| Markus Wernig | host to host ipsec link |
| Richard Stallman | Re: Real men don't attack straw men |
| Kevin Neff | Patching a SSH 'Weakness' |
| Jeffrey 'jf' Lim | "VIA Announces Strategic Open Source Driver Development Initiative" |
| Denys Fedoryshchenko | panic 2.6.27-rc3-git2, qdisc_dequeue_head |
| Evgeniy Polyakov | [resend take 2 4/4] DST Makefile/Kconfig files. |
| Volker Armin Hemmann | build error with 2.6.27.6+reiser4+ehci-hub patch. ERROR: "mii_ethtool_gset" [drive... |
| Arkadiusz Miskiewicz | htb and UDP packages bigger than 1500 |
| USB statistics | 57 minutes ago | Linux kernel |
| Block Sub System query | 5 hours ago | Linux kernel |
| kernel module to intercept socket creation | 6 hours ago | Linux kernel |
| Image size changing during each build | 6 hours ago | Linux kernel |
| Soft lock bug | 11 hours ago | Linux kernel |
| sysctl - dynamic registration problem | 17 hours ago | Linux kernel |
| Question on swap as ramdisk partition | 19 hours ago | Linux kernel |
| serial driver xmit problem | 1 day ago | Linux kernel |
| Generic Netlink subsytem | 1 day ago | Linux kernel |
| 'Report spam filter error' page broken | 1 day ago | KernelTrap Suggestions and Feedback |
