Git (http://git-scm.com/) is a distributed version control system. It keeps a complete repository next to each working copy, thus one can commit or inspect the project history locally.
Warning: Unlike most other version control systems (e.g., Subversion) a commit is not understood as a difference between two revisions but as the content of its revision.
In fact, Git stores the commit under the SHA-1 hash of all files in the project – also files that were not changed in this commit.
Thus, the same change of one sub-module committed to two Git branches that differ only in another sub-module results in two different SHA-1 hashes and two different commits.
It is possible to work around this by cherry-pick
ing but that will lead to extra headache.
Better practice is to have only one feature per branch.
C:\Users\Rind\AppData\Roaming\ssh
and NTFS-encrypted this directoryhttp://download.eclipse.org/egit/updates/
git@github.com:ieg-vienna/Prefuse.git
C:\Users\Rind\git
Note: for contribution development EGit will be sufficient – you do NOT need Git for Windows
Note: I wrote this guide for Eclipse IDE for Java Developers Helios SR2, but it should also work for other versions.
Initial Checkout:
git svn clone svn+ssh://svn.isis.tuwien.ac.at/home/HypoVis/repository/Theses/TimeBench
Work with git
as you like, include branches and rebasing.
Commit to server:
git svn dcommit
Update from server:
git svn rebase
Might be relevant: git-svn to handle eol-style
Alternative: http://subgit.com/
curl --user "alex-rind:XXXXX" \ --request POST \ --data '{"issue": "16", "head": "alex-rind:character-encoding", "base": "master"}' \ https://api.github.com/repos/prefuse/Prefuse/pulls
XXXXX → GitHub web password
character-encoding → branch name
git filter-branch --index-filter ' git ls-files -s | \ sed "s-\t.classpath-\teclipse.classpath-" | \ sed "s-\t.project-\teclipse.project-" | \ GIT_INDEX_FILE=$GIT_INDEX_FILE.new git update-index --index-info && \ mv "$GIT_INDEX_FILE.new" "$GIT_INDEX_FILE" ' HEAD
alex @ ieg: home about me publications research