Dynamo
2 replies to this thread. Most Recent
Todd
5 Mar 2010, 9:23 pm
Git
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.
Todd
waltd
5 Mar 2010, 9:31 pmI 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.
Todd
Freeway user since 1997
Joe Billings
5 Mar 2010, 10:30 pmDitto 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:
http://www.kernel.org/pub/software/scm/git/docs/git-clone.html
Joe
On 5 Mar 2010, at 22:31, Walter Lee Davis wrote:
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.
Todd
