This is an archive of the old MediaWiki-based ImageJ wiki. The current website can be found at imagej.net.
Git
Development of ImageJ and related software relies heavily on Git. See the source code page for information on where the Git repositories reside.
Why do we use Git?
- Git is a first-class distributed version control system, so we use it to keep a record of changes to avoid loss-of-work and to appropriately explain/document changes as projects develop.
- Git history, which is composed of "snapshots" of the source code, can be used to go back at any point in time, which leads to reproducible science.
Git tutorials
Git Tutorials | |
---|---|
Git for dummies | |
Git in Eclipse (EGit)
| |
Git mini howto | |
Git workshop | |
Git Conflicts | |
Git topic branches | |
Git Notes | |
Git reflogs | |
Git submodule tutorial | |
Pinpoint regressions with Git | |
How to publish a Git repository | |
How to extract a subproject |
This web site has lots of tutorials on Git; see the left sidebar.
Rewriting history
One of the most powerful things Git can do is rewrite a series of patches after the fact. This is a powerful technique worth learning. There are many guides available here and elsewhere:
- Modifying your commits section of the Contributing to a plugin page
- Advanced topic branch editing section of the Git topic branches tutorial
- Rewriting history tutorial from Atlassian
- 7.6 Git Tools - Rewriting History from the Git book
- About Git rebase article from GitHub
- Using Git rebase article from GitHub