+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
News from Git in Eclipse - EclipseCon 2015 Europe
1. News from Git in Eclipse
Matthias Sohn (SAP)
Max Hohenegger
2. JGit
new ignore implementation
improved submodule
support
aggressive gc
security fixes
3.6 Dec 2014
EGit
symlink support
improved submodule
support
checkout ours / theirs
3. much faster
support ** pattern
**/foo/bar matches foo/bar in any directory
abc/** matches everything (infinite depth) under abc
a/**/b matches "a/b", "a/x/b", "a/x/y/b“ and so on
support ! to negate rules defined previously
.a ignore .a files
! lib.a but do track lib.a
New ignore implementation
9. JGit
hooks
move to Java 7
API cleanup
4.0 Jun 2015
EGit
basic git-flow support
e4 smart project import
API to prepare model
merge
allow to symlink .git
18. Versioning large binaries in Git
large binary files can't be packed by Git efficiently
➔ slows down transport
➔ gc more expensive and less efficient
➔ Git repository quickly becomes bulky
➔ Git server load grows
21. .gitattributes
video.mp4
X.java
git add video.mp4
.git
-- objects
-- sha1
-- lfs
-- objects
-- sha256
version git-lfs/spec/v1
id sha256:5891b5b522...
size 6
store meta data in objects
store big file in lfs objects
lfs clean filter
video.mp4
23. .gitattributes
video.mp4
X.java
git fetch/clone, git checkout
.git
-- objects
-- sha1
-- lfs
-- objects
-- sha256
git server
lfs server
version git-lfs/spec/v1
id sha256:5891b5b522...
size 6
fetch all meta-data
checkout loads lazily
video.mp4
24. + .gitattributes
+ run clean filter on add
+ run smudge filter on checkout
+ run pre-push hook on push
- run filters during diff, merge, handle clone
➔ use external lfs in JGit/EGit with existing LFS server (e.g. GitHub)
- LFS extension implemented in JGit
- JGit LFS server
- LFS server Gerrit plugin
➔ builtin lfs in JGit/EGit with Gerrit / LFS server plugin
LFS support in JGit / Gerrit
25. Gitflow?
workflow & branching strategy
“It forms an elegant mental model
that is easy to comprehend and
allows team members to develop a
shared understanding of the
branching and releasing
processes.”
- Vincent Driessen
(creator of Gitflow)
26. Gitflow in a
Nutshell
Author: Vincent Driessen
Original blog post: http://nvie.com/posts/a-succesful-git-branching-model
License: Creative Commons BY-SA
27. Gitflow in
Eclipse
functional but not finished
+ feature start, finish, checkout, rebase
+ release start, start from commit, finish
+ hotfix start, finish
- several optional parameters
- support branches