I’ve installed git and am able to clone a remote repo (eg, MAR). Using
GitX as the GUI things appear to work as expected. What I can’t figure
out from the git docs is how to set the path to my local repo which in
this case is ~/Documents/Repository/git/. Instead, when I clone a repo
it’s placed in my Home folder. Seems somewhat similar yet different
from a svn setup.
I don’t know how you would set that in Gitx, but if you simply open a
terminal, cd to the desired folder, and type git fetch (url of the
repo) you’ll have everything where you want it.
Walter
On Mar 5, 2010, at 5:23 PM, Todd wrote:
I’ve installed git and am able to clone a remote repo (eg, MAR).
Using GitX as the GUI things appear to work as expected. What I
can’t figure out from the git docs is how to set the path to my
local repo which in this case is ~/Documents/Repository/git/.
Instead, when I clone a repo it’s placed in my Home folder. Seems
somewhat similar yet different from a svn setup.
Ditto having not tried gitx, but on the command line you can specify a folder/directory to clone as an option instead of changing directory to begin with:
I don’t know how you would set that in Gitx, but if you simply open a terminal, cd to the desired folder, and type git fetch (url of the repo) you’ll have everything where you want it.
Walter
On Mar 5, 2010, at 5:23 PM, Todd wrote:
I’ve installed git and am able to clone a remote repo (eg, MAR). Using GitX as the GUI things appear to work as expected. What I can’t figure out from the git docs is how to set the path to my local repo which in this case is ~/Documents/Repository/git/. Instead, when I clone a repo it’s placed in my Home folder. Seems somewhat similar yet different from a svn setup.