Derpy Derp
Derpy Derp

Reputation: 449

Need help to Check out source using Git

I'm new to Git, and I have no idea what the heck should I do to check out the repository.

The source is at: http://zmpp.git.sourceforge.net/git/zmpp

How do I fetch all the files in the repository?

Upvotes: 1

Views: 1230

Answers (3)

Otheus
Otheus

Reputation: 585

I had this problem, and a helpful user at the Ubuntuforums pointed out that when using the git:// handler, you must open up port 9418 on your firewall.

So...

git clone git://projectname.git.sourceforge.net/gitroot/project/subproject

would require this rule to be added in Linux (for instance, /etc/sysconfig/iptables on Fedora/RedHat variants):

-A INPUT -m tcp -p tcp --dport 9418 -j ACCEPT -m comment --comment "GIT"

Upvotes: 0

xk0der
xk0der

Reputation: 3690

Download git from here: http://git-scm.com/downloads - for your operating system.

Open the git-shell - on most systems, easy way would be to double click on the icon labeled either of the following 'git-cmd', 'git-bash', 'git-terminal' or something similar.

For example on windows:
enter image description here

Once the shell has started, move to the folder where you want to checkout the source.

Say, you want to checkout the code at D:\SourceCode\ - given a windows system - using git-bash - type the following:

cd /d/SourceCode 

and then clone the repository - as follows.

git clone http://zmpp.git.sourceforge.net/git/zmpp

enter image description here

The above will create a folder zmpp which will contain the entire repository for the project in question.

Upvotes: 1

Vincent Ramdhanie
Vincent Ramdhanie

Reputation: 103145

git clone http://zmpp.git.sourceforge.net/git/zmpp

Also this will give further details.

Upvotes: 2

Related Questions