I am able to type this into the glitch terminal:
“git clone https//github.com/Andrew-Gallimore/new-project.git test”,
“cd test” and,
“git checkout v2.3” which puts the branch I want of the repository into a folder called “test”.
But I am not wanting the files of the project in a folder (in this case it is named ‘test’), I want them put in the main directory, the directory where the folder “test” currently is.
In the past I have been able to say “.” rather than “test” in the first command, and it would put the files in the main directory all fine. But since then, that simply returns an error saying:
“fatal: destination path ‘.’ already exists and is not an empty directory.”
I have tried ‘rm’ (clearing the “.” directory before trying) and also ‘mv’ (moving the files from test to “.”) But I am not able to get anywhere with anything like that.
Links to projects:
Here is links to the 2 projects that relate to this:
(the current one needing help with)
(the past one where I was able to use “.” rather than a new folder)
Note: I am trying to get the files to end up being laid out roughly like how I did in the first project.
I am sure that there is a simple solution because I somehow did it before. Any help I can get is great. I am new to this (posting my question this way) so tell me if you need any more information about it to figure out how to do it.