#15744 closed enhancement (invalid)
Switch to git
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | WordPress.org site | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Advantages are many
Some highlights:
Due to being distributed, you inherently do not have to give commit access to other people in order for them to use the versioning features. Instead, you decide when to merge what from whom.
Branches in Git are a core concept used everyday by every user. In Subversion they are more cumbersome and often used sparingly.
I am biased, but the quotes are from a balanced comparison:
http://git.wiki.kernel.org/index.php/GitSvnComparison
Migration is straightforward
- importing svn changesets can be done using git-svn or svn2git
- trac has git integration
Major projects using git: The Linux Kernel, jQuery.
Change History (6)
comment:2
coffee2code — 2 years ago
+100
A few additional resources for the curious:
- Pro Git (free online book)
- Why Git is Better Than X
- Git Svn Crash Course
- and, of course, Wikipedia (history, overview, and in particular a list of other major projects using Git)
And I concur that reviving the github mirror (and making it official, if it isn't already) would be awesome.
While the switch to a DVCS certainly has some appeal, I'm not sure that git is the right choice for the WordPress project.
The reason is the lack of support for git on Windows, which IMHO is the most widely used OS of WordPress developers which want to directly access the repository (e.g. plugin developers, testers, ...). And honestly I don't have the feeling that the git developers really want Windows support (TortoiseGit and git-cheetah still kind of fight each other).
I'd rather suggest Mercurial, which basically has the same features as git, with a slightly different syntax, but a far better support for different OSes (e.g. TortoiseHg).
But before making such a switch decision, we should really first make our minds up on what the goal and the consequences of such a switch would be.
Mercurial advantages over git:
- CLI interface similar to svn
- better Windows support
Mercurial disadvantages over git:
- slower
- trac integration is marked as experimental
These are just off the top of my head.
- Milestone WordPress.org deleted
- Resolution set to invalid
- Status changed from new to closed
This is not the right place for this to be discussed.
wp-hackers is the best place for this.
Started a thread: Switching from SVN

In the meantime, I would be happy with an official, up-to-date mirror on github:
http://github.com/wordpress/wordpress/