-1

I am an absolute beginner with Git and clone. So I cloned a Git repository (see picture). But where is the folder, where can I see the content?

Git

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Behar
  • 239
  • 1
  • 6
  • 15

3 Answers3

1

In your directory Git is already initialized, delete the .git directory in your project root folder. If not shown, enable hidden files in strings.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
0

Run:

mv MXDial-IoT-Sample MXDial-IoT-SampleBAK

And then:

git clone https://github.com/Microsoft/MXDial-IoT-Sample.git
Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Eric Lima
  • 112
  • 2
  • 11
0

Very useful command:

ls -a

It shows the content of the current directory.

You've tried to clone your repository two times in a row, so the main directory of your repository already exists. You'd better delete it using next command:

rm -rf MXDial-IoT-Sample

And then you can clone your repository once again with git clone.

If you want to "find the folder", use ls.

To change the current directory to your repository use:

cd MXDial-IoT-Sample

To open it:

explorer .

Marshal
  • 24
  • 2