The main IronPython2 git repository is at http://github.com/IronLanguages/ironpython2.
You can download a zipped copy of the latest IronPython2 sources as well.
The following links include resources for installing and using GIT:
- GitHub guides
- GIT documentation - If you have never used GIT, reading the tutorial first will be a big help to finding your way around.
- Cheat sheet - Quick reference for commonly used commands
- Collaborative Github Workflow - very good description of the workflow and tips and tricks when contributing to a project hosted on GitHub.
- Jimmy's Cheatsheet
You will first need to fork the IronPython2 project. Creating a fork is recommended as it will allow you to contribute patches back easily. Click the "Fork" button on https://github.com/IronLanguages/ironpython2/. This should create your personal fork, with a website like http://github.com/janedoe/ironpython2 (where janedoe is your github username).
You can now use the git command-line client with many Linux distributions, Mac OS, Cygwin, and Windows (msysgit) to get the sources onto your local computer using the following commands:
git config --global branch.autosetupmerge true
git config --global user.name "Jane Doe"
git config --global user.email [email protected]
git clone [email protected]:janedoe/ironpython2.git
cd ironpython2
git remote add ironpython2 git://github.com/IronLanguages/ironpython2.git
git pull ironpython2 master
At a later date, to get the latest updates from the IronPython2 project, run the following command in the ironpython2 directory created above:
git pull ironpython2 master
If there is a merge conflict, edit the unmerged files to remove the conflict markers, and then run the following command:
git commit -a
To push your changes back to your fork and make them public, use git push
.
You can skip creating a fork if you only want to browse the sources. In that case, you can clone the project directly as such:
git clone git://github.com/IronLanguages/ironpython2.git
git pull
The DLR (Dynamic Language Runtime) is a submodule of the ironpython2 repository, you need to initialize after cloning the repository.
git submodule update --init
For more information there is an excellent tutorial on getting started with git