[git-users] Is this possible with git
Hi all, I'm just starting to look at git after a long while away from version control software (as a clue, the last thing I used in real anger was sccs). What I'd like to know if it is possible to achieve the following: We use software that hosts multiple web sites that has a structure like /base -- /common_dir1 \ \ \ /common_dir2 \ \ /site1 \ /site2 What I'd like to do is to be able to setup a repository to track all changes to /base, /common_dir1, /common_dir2 /site1 and another seperate repository to track /base, /common_dir1, /common_dir2 / site2. Initially, I'd be looking at using local repositories but would probably like to be able to clone the structures to remote machines for backup, but I'm happy to jump straight to remote repositories if needed. I'd appreciate any advice anyone could give - from what I've seen through google this might well involve submodules but I just can't get them to work. Thanks, Simon --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Git for human beings group. To post to this group, send email to git-users@googlegroups.com To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/git-users?hl=en -~--~~~~--~~--~--~---
[git-users] Re: unable to chdir or not a git archive
On Sep 22, 1:43 pm, erenay erenay...@gmail.com wrote: git remote show origin returned fatal: 'origin': unable to chdir or not a git archive fatal: The remote end hung up unexpectedly On Sep 22, 2:59 pm, Michael P. Soulier msoul...@digitaltorque.ca wrote: On 22/09/09 erenay said: My crone url is like: g...@github.com:x/y.git I clone it by using git clone g...@github.com:x/y.git Works for me. Perhaps you should take it up with github. Does 'git remote' show a list including origin? If not, you have managed to lose the named remote 'origin' pointing to where you cloned from. If it is there, are you able to clone again using the same URL? If no, you've got a problem on the other end. If yes... look in .git/config for a section like this: [remote origin] url = ... fetch = +refs/heads/*:refs/remotes/origin/* and make sure the url is correct, fetch is set to that (or something else valid, if you know what you're doing), and there aren't any other bizarre settings in that section. Jeffrey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Git for human beings group. To post to this group, send email to git-users@googlegroups.com To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/git-users?hl=en -~--~~~~--~~--~--~---