So long as you move the .git folder in-tact, it really doesn't matter where
it is. If you have a working copy as well (which is the default when you
clone) then it's best you move those files too of course, but not strictly
required as git can recreate the working copy from the contents of the .git
folder.
Tekkub
GitHub General Support
http://support.github.com/
Join us on IRC: #github on freenode.net
Discussion group: [email protected]
On Mon, Mar 30, 2009 at 10:47 PM, Jason H <[email protected]
> wrote:
>
> but when you move it your break the git connection correct?
>
> I use a CMS that I am trying to keep one system up to date and fetch
> it when I update the repo/version of the cms.
>
> On Mar 30, 9:42 pm, Tekkub <[email protected]> wrote:
> > I think it will always clone to a subpath of your current location. You
> > could, of course, just move everything after the clone is finished.
> > Tekkub
> > GitHub General Support
> > http://support.github.com/
> > Join us on IRC: #github on freenode.net
> > Discussion group: [email protected]
> >
> > On Mon, Mar 30, 2009 at 10:36 PM, Jason H <
> [email protected]
> >
> >
> >
> > > wrote:
> >
> > > I try to clone it into the current directory but it creates a new
> > > one...
> >
> > > So if I do this:
> >
> > > cd /Desktop
> > > git clone [email protected]:username/git-repo.git
> >
> > > It creates a new directory for the repo, how would I path to the
> > > desktop an clone it in that directory?
> >
> > > On Mar 30, 9:22 pm, Dilip M <[email protected]> wrote:
> > > > On Tue, Mar 31, 2009 at 6:32 AM, <[email protected]
> >
> > > wrote:
> > > > > is there a way to clone a repo into the directory you are currently
> > > > > pathed to?
> >
> > > > You can clone it anywhere you want...Provided you have READ-Write
> > > > access to that directory.
> >
> > > > -- Dilip
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"GitHub" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/github?hl=en
-~----------~----~----~----~------~----~------~--~---