Transition to pencil-code.org
Important: from
2024 we run our repository on our own domain "pencil-code.org", see
instructions for the transition.
Our repository is being mirrored almost instantaneously to GitHub, where GitHub was switched to read-only mode.
Download
You might get the code using
SVN (recommended) or
GIT (for git-experts).
• Read-only access
svn checkout https://pencil-code.org/svn/trunk pencil-code
git clone https://pencil-code.org/git/ pencil-code
No registration is required for read-only access.
• Write access
If you want to submit your changes, please register at
account.pencil-code.org and apply for write access to the "main" repository. Ideally, you would register with the same "USERNAME" as your GitHub account.
=> SVN:
svn checkout --username=USERNAME https://pencil-code.org/svn/trunk pencil-code
=> GIT:
git clone https://USERNAME@pencil-code.org/git/ pencil-code
Be sure to use exactly the same email address and username as in your GitHub account:
git config --global user.email "my-primary@email.net"
git config --global user.name "USERNAME"
To cache your password for #### seconds, you can configure:
git config --global credential.helper 'cache --timeout=####'
We strongly suggest to trigger an automatic rebase on each pull (to avoid implicit "Merge branch 'master'" commits):
git config --global pull.rebase true
Our
GIT server can show
SVN revisions as notes:
git config --add remote.origin.fetch '+refs/svn/map:refs/notes/commits'
git config remote.origin.tagOpt '--tags'
git pull
git log
SVN-GIT translation:
Getting an old SVN revision:
Stable releases:
The Pencil Code can also be obtained as a stable
release.
We also provide the stable release
r21570 as TAR.gz archive for direct download.