T
T
Test Test2015-12-30 18:24:09
GitHub
Test Test, 2015-12-30 18:24:09

How to properly unpack a Git repository?

Hello! Just started learning git and ran into this problem.
1. There is a repository https://github.ru/user/repo.git
2. On the server I do
# cd /home/mypath/
# git clone https://github.ru/user/repo.git
The problem is that the files are copied to the repo folder, it is required that the files are immediately copied to the root of the specified folder.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Konstantin Chukhlomin, 2015-12-30
@cubooks

Try
git clone https://github.ru/user/repo.git .

W
wolron, 2022-02-14
@wolron

The zip archive has been uploaded to the Github repository. How to unpack it in the repository?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question