Executing the command git clone [email protected]:whatever
creates a directory in my current folder named whatever, and drops the contents of the git repo into that folder:
/httpdocs/whatever/public
My problem is that I need the contents of the git repository cloned into my current directory so that they appear in the proper location for the web server:
/httpdocs/public
I know how to move the files after I've cloned the repo, but this seems to break git, and I'd like to be able to update just by calling git pull
. How can I do this? And thank you!