[SOLVED] Does anyone here have any experience with the source control softwware called GIT?

xarzu

Distinguished
Apr 2, 2008
44
0
18,530
0
I have just started using git after not using it for a while.
I have created a repository.
Then, as I was instructed, I made a “git clone” command which consisted of “git clone” followed by a path.
I expected this to get the contents of the path and put it into my repository – meaning the directory I made. This did not happen. What do I do?
How do I get a local copy of a remote work space for me to work on?


I am wondering if there is something like a "fetch" command I should be using.



The video tutorial I was looking at instructed how to make a local repository. But if I am trying to get code from a network location, how do I go about making that happen?



I was instructed at my job to run this command (copied here in pseudo code)

git clone blah-blah:/blah/git/noogie/dork_monkey/

and when I did this grom git-bash it did not produce any errors which led me to think it was the command I needed to do.

But I did this from the local directory that I used

git init

to set up as a locak repository.

I assumed that typiing a "git clone..." command would have copied all of the files on the blah-blah server over.



But it did not.

I wonder if all this might have something to do with the fact that I need to get my network up and running first.

In my File File Explorer window, when I click on the "This PC" icon on the left, I can see I have five Network locationis mapped to drive letters.

But when I click on the Network icon I get an error.
 

dmroeder

Distinguished
Jan 15, 2005
1,347
18
19,515
66
If I were to guess, this is likely due to git not being able to access the path that your remote project is at. If you are not able to access it, it is unlikely that git will be able to access it. Clone a project on github to see how it works. I maintain an open source project you can try:

Code:
git clone https://github.com/dmroeder/pylogix
I have a git server running on my NAS at home. You have to get the path and permissions right.
 

ASK THE COMMUNITY

TRENDING THREADS