I was looking for downloading the example projects codes here: andengine
The question is: How can i download the folder hg to get the example projects?
Download mercurial (or TortoiseHG client) from here and execute in command line:
hg clone https://code.google.com/p/andengineexamples/
Related
In this repository I could't find any download button(clone download). But I have founded these kind of repositories without clone download button. can anybody please help me out how to download these kind of libraries.
link is here:[https://github.com/jrowberg/i2cdevlib/tree/master/Arduino/I2Cdev]
You'd have to clone the repo via Git (make sure it's installed, if not, download it here) as an alternative method to download the library.
Once git is installed, open up a terminal, and enter this command to clone the repository:
git clone https://github.com/jrowberg/i2cdevlib.git
When reading an open source project, I sometimes come across icons like these below; when I click this example, it will go to the AFNetworking open source project.
What's this for? Is it just a link not a directory which contains code?
This means it is a git submodule, you can find more information in git docs.
in this project, when you download it, you should add the --recursive param:
git clone --recursive [URL to Git repo]
then you can download the git submodule of this GitHub project.
I can't figure out why I can't get a working copy from a git repository into Eclipse PHP Explorer.
I think to have followed the steps I have been reading:
http://wiki.eclipse.org/EGit/User_Guide#Cloning_Remote_Repositories
http://www.vogella.com/tutorials/EclipseGit/article.html
But at the end of the procedure I don't have the code at the PHP Explorer. But the way, at Git perspective I can see the git repository.
The only options I can see at Team context-menu, are:
Apply Patch
Share code
By "share Code" option, the project files are moved into the git repository folder. By doing this:
the project tree parent has detected the git repository, I can see at the root tree [gitpoject git]
at the project properties, on Git section, I can see the Git repository data correctly
The Team contextual-menu has now the expected Git commands
If I do a commit from the root-tree, the Commit windows is shown and wants to add the Eclipse project structure.
But I can't see the code holded into the git repository into the project.
I tried to clone the git repository with "Git Bash" by one side, and import this folder into an existing project without luck.
Anyone could help? Thanks in advance.
Even if this not responds completely the problem I have explained, the only way I can have a working copy into the Eclipse PHP Explorer is by:
Make a git clone through Git Bash
Create a new project (PHP Project) and select "Create project at exisiting location" for Contents
By selecting the directory I have the repository cloned, I can see the contents of this repo now at the PHP Explorer and use the Git tools.
If someone could clarify why the procedure I have followed has not worked I will appreciate to understand it.
I started today working with gamejs for a small project. I saw that most project are repository files on github dot com, so I downloaded the github for windows and the git bash.
Then I used git bash to clone gamejs repository. I proceed the same with some repository stuff. However, it seems that I forget to install something... because I cannot start the server, I have gjs-server.sh or .cmd missing. The bash doesnt recognize the command. What will I do?
Since you cloned the code instead of downloading the release tarball you need to build GameJS first:
Change into the GameJs directory
cd gamejs
Get all needed submodules with git:
git submodule init git submodule update
Compile RingoJs:
ant -f ./server/ringojs/build.xml jar
EDIT: Prior to building you need to install Apache Ant build tool. Since it is a Java application to install it just download the binary distribution from their download page and unzip it.
I need to download the source code of a project that is on code.google.com
I'm unable to execute the command given in the checkout section. How do I do it? This is the command to be executed in command prompt.
hg clone https://code.google.com/p/gpspeedo/
hg is the mercurial command. You'll need to have mercurial installed to do this.
Take a look here for information on mercurial