Answer the question
In order to leave comments, you need to log in
Git. How to clone a repository to the current folder?
How to clone a repository in git to the current folder, i.e. without creating a folder named repository?
Tried like this: git clone https://[email protected]/user/rep.git .
Does not work. Maybe there is some way?
Answer the question
In order to leave comments, you need to log in
git init
git remote add origin https://[email protected]/user/rep.git ./
your command is correct, but it may not work if the directory is not empty, git does not allow cloning to a non-empty directory
The dot is separated by a space, and there should be nothing in the directory.
I have a question:
I want to clone the repository, I enter the login and password from the github, and in response repository not found.
What am I doing wrong?
make an index file on site1.ru insert this line into it
<iframe src="http://site2.ru" frameborder="0"></iframe>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question