{"thread":{"id":"26305","subject":"Locating Git Clone","startedAt":"2011-01-19T08:35:39Z","lastAt":"2011-01-19T10:28:00Z","messageCount":5,"participants":["flebber","Alexey Shumkin","Maaartin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"159624","messageId":"1295426139368-5938712.post@n2.nabble.com","threadId":"26305","inReplyTo":null,"subject":"Locating Git Clone","fromName":"flebber","fromEmail":"flebber.crue@gmail.com","sentAt":"2011-01-19T08:35:39Z","receivedAt":"2011-01-19T08:35:39Z","isPatch":false,"sender":{"key":"flebber.crue@gmail.com","avatar":"https://gravatar.com/avatar/979887e3d2626159a138e8eb23e7bb5f89f88ae6a349b42c003fdaeb57e8aeb3?d=mp&s=160"},"body":"\nI downloaded from git as I was following this walkthrough\nhttp://www.grails.org/Installation.\n\nSo I issued the command \n\n    * git clone git://github.com/grails/grails-core.git\n\nSo that worked no problems, except I don't know where it cloned it to or how\nI can move it. I had intended it to go to c:\\grails.\n\nIs there a way to find a locate something you have cloned?\n\nSayth\n-- \nView this message in context: http://git.661346.n2.nabble.com/Locating-Git-Clone-tp5938712p5938712.html\nSent from the git mailing list archive at Nabble.com.\n"},{"id":"159626","messageId":"loom.20110119T094539-141@post.gmane.org","threadId":"26305","inReplyTo":"1295426139368-5938712.post@n2.nabble.com","subject":"Re: Locating Git Clone","fromName":"Alexey Shumkin","fromEmail":"zapped@mail.ru","sentAt":"2011-01-19T08:49:37Z","receivedAt":"2011-01-19T08:49:37Z","isPatch":false,"sender":{"key":"alex.crezoff@gmail.com","avatar":"https://avatars.githubusercontent.com/u/1183752?v=4"},"body":"flebber <flebber.crue <at> gmail.com> writes:\n\n> \n> \n> I downloaded from git as I was following this walkthrough\n> http://www.grails.org/Installation.\n> \n> So I issued the command \n> \n>     * git clone git://github.com/grails/grails-core.git\n> \n> So that worked no problems, except I don't know where it cloned it to or how\n> I can move it. I had intended it to go to c:\\grails.\n> \n> Is there a way to find a locate something you have cloned?\n> \n> Sayth\n\n'git clone URL [FOLDER]' clones repo to FOLDER if it is set\nand to basename of URL to your current dir (say PWD) otherwise\nI.e. PWD/grails-core (.git suffix is automatically removed) is this case\n\nRTFM )) \n"},{"id":"159627","messageId":"1295427449605-5938759.post@n2.nabble.com","threadId":"26305","inReplyTo":"loom.20110119T094539-141@post.gmane.org","subject":"Re: Locating Git Clone","fromName":"flebber","fromEmail":"flebber.crue@gmail.com","sentAt":"2011-01-19T08:57:29Z","receivedAt":"2011-01-19T08:57:29Z","isPatch":false,"sender":{"key":"flebber.crue@gmail.com","avatar":"https://gravatar.com/avatar/979887e3d2626159a138e8eb23e7bb5f89f88ae6a349b42c003fdaeb57e8aeb3?d=mp&s=160"},"body":"\nSo how can I determine which folder is set for git? Should I have declared\nthe folder to clone to in the orginal clone command?\n\nI tried using --get-dir and the man.\n\nrenshaw@RENSHAWRESIDENC ~\n$ --git-dir\nsh.exe\": --git-dir: command not found\n\nrenshaw@RENSHAWRESIDENC ~\n$ --git-dir=GIT_DIR\nsh.exe\": --git-dir=GIT_DIR: command not found\n\nrenshaw@RENSHAWRESIDENC ~\n$ help mv\nsh.exe\": help: no help topics match `mv'.  Try `help help'\nfo mv'.\n\nrenshaw@RENSHAWRESIDENC ~\n$ man -k mv\nsh.exe\": man: command not found\n\nrenshaw@RENSHAWRESIDENC ~\n$ info mv\nsh.exe\": info: command not found\n\nrenshaw@RENSHAWRESIDENC ~\n$ mv grails-1.3.6 c:\\grails\nmv: cannot stat `grails-1.3.6': No such file or directory\n-- \nView this message in context: http://git.661346.n2.nabble.com/Locating-Git-Clone-tp5938712p5938759.html\nSent from the git mailing list archive at Nabble.com.\n"},{"id":"159628","messageId":"4D36AB53.6040105@seznam.cz","threadId":"26305","inReplyTo":"1295427449605-5938759.post@n2.nabble.com","subject":"Re: Locating Git Clone","fromName":"Maaartin","fromEmail":"grajcar1@seznam.cz","sentAt":"2011-01-19T09:13:55Z","receivedAt":"2011-01-19T09:13:55Z","isPatch":false,"sender":{"key":"grajcar1@seznam.cz","avatar":null},"body":"On 11-01-19 09:57, flebber wrote:\n>\n> So how can I determine which folder is set for git? Should I have declared\n> the folder to clone to in the orginal clone command?\n>\n> I tried using --get-dir and the man.\n>\n> renshaw@RENSHAWRESIDENC ~\n> $ --git-dir\n> sh.exe\": --git-dir: command not found\n\nWrong, it's a git option, i.e., you'd use something like\ngit --git-dir some_git_command ...\n\nBut you do NOT need it at all. Don't use it, it's a bit advanced. Just\nchange into the right directory before using any git command.\n\n> renshaw@RENSHAWRESIDENC ~\n> $ --git-dir=GIT_DIR\n> sh.exe\": --git-dir=GIT_DIR: command not found\n>\n> renshaw@RENSHAWRESIDENC ~\n> $ help mv\n> sh.exe\": help: no help topics match `mv'.  Try `help help'\n> fo mv'.\n>\n> renshaw@RENSHAWRESIDENC ~\n> $ man -k mv\n> sh.exe\": man: command not found\n>\n> renshaw@RENSHAWRESIDENC ~\n> $ info mv\n> sh.exe\": info: command not found\n\nForget it,\nhttp://www.google.com/search?q=man+mv\nis what I use instead. It's fast enough for me.\n\n> renshaw@RENSHAWRESIDENC ~\n> $ mv grails-1.3.6 c:\\grails\n> mv: cannot stat `grails-1.3.6': No such file or directory\n\nYou did\ngit clone git://github.com/grails/grails-core.git\nso I'd suppose you could move it using\nmv grails-core c:/grails\nDo not use \"\\\" as it's an escape character, you'd need to double it. But\nuse anything you like for moving it.\n"},{"id":"159637","messageId":"1295432880513-5939039.post@n2.nabble.com","threadId":"26305","inReplyTo":"1295426139368-5938712.post@n2.nabble.com","subject":"Re: Locating Git Clone","fromName":"flebber","fromEmail":"flebber.crue@gmail.com","sentAt":"2011-01-19T10:28:00Z","receivedAt":"2011-01-19T10:28:00Z","isPatch":false,"sender":{"key":"flebber.crue@gmail.com","avatar":"https://gravatar.com/avatar/979887e3d2626159a138e8eb23e7bb5f89f88ae6a349b42c003fdaeb57e8aeb3?d=mp&s=160"},"body":"\nThanks for the help.\n\nDidn't realise at all I could navigate like a unix shell. All solved thanks.\n\nrenshaw@RENSHAWRESIDENC ~\n$ ls\nApplication Data  IETldCache      PrintHood     Start Menu  dwhelper\nAptana Rubles     Local Settings  PrivacIE      Templates   grails-core\nCookies           My Documents    Recent        UserData    ntuser.dat.LOG\nFavorites         NTUSER.DAT      SendTo        _viminfo    ntuser.ini\nIECompatCache     NetHood         Settings.bin  desktop     workspace\n\nrenshaw@RENSHAWRESIDENC ~\n$ mv grails \"c:/grails-core\"\nmv: cannot stat `grails': No such file or directory\n\nrenshaw@RENSHAWRESIDENC ~\n$ mv grails grails-core\nmv: cannot stat `grails': No such file or directory\n\nrenshaw@RENSHAWRESIDENC ~\n$ mv grails-core \"c:/grails\"\n-- \nView this message in context: http://git.661346.n2.nabble.com/Locating-Git-Clone-tp5938712p5939039.html\nSent from the git mailing list archive at Nabble.com.\n"}]}