Run
Run

Reputation: 57176

git gui: how to clone and push?

I think I am stupid. I don't understand how Git works with the command lines so I am using Git Gui.

I got it install and the Gui can be launched successfully, but when I come to clone the file from the files which is shared by another programmer with me, I keep getting this error message,

Location C:/.... already exists.

on the Gui interface, it has two input fields to fill in only -

'Source Location' : https://[email protected]/remote-programmer/project-1.git (for instance)
'Target Directory' : C:/wamp/www/project-1-folder (for instance)

any visual guides available that I can avoid the command lines?

thanks!

Upvotes: 42

Views: 101480

Answers (3)

Brendon Dulam
Brendon Dulam

Reputation: 61

For the following case, just remove the C:/ in the target directory:

'Source Location' : https://[email protected]/remote-programmer/project-1.git
'Target Directory' : C:/wamp/www/project-1-folder (for instance)

The target directory should be like this:

'Target Directory' : wamp/www/project-1-folder

Upvotes: 6

Hemantvc
Hemantvc

Reputation: 2119

'Source Location' : https://[email protected]/remote-programmer/project-1.git (for instance) Don't browse the target directory .write full path and new folder name manually.

'Target Directory' : C:/wamp/www/project-1-folder

Upvotes: 19

bdukes
bdukes

Reputation: 155935

You need to clone into a new directory, that is, that "Target Directory" that you specify should not already exist.

Upvotes: 51

Related Questions