由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - git & java
相关主题
Java5 compatibility issueAny body uses wicket framework for web development?
上周,一印度女被fire了HTTP Status 404 The requested resource (/abc/index.jsp) is not available.
Complaint about Java class packageHow do I declare a transaction among 2 spring service calls
请教Programming books请教:windows xp下面可以装cvsnt么?
请问java的ide如何把SHA1密码从新加密成SHA-512
any tools for ...Engineering II openning in my company
使用eclipse方法对第三方库建立Wrapper的小技巧。DC hot start-up 招 JAVA engineer (sponsor h1b, green-card)
how to refactor overlayered applications?PHP真火啊
相关话题的讨论汇总
话题: git话题: java话题: commit话题: changes
进入Java版参与讨论
1 (共1页)
c*****t
发帖数: 1879
1
Does git work well for Java (consider refactoring etc)? Anyone has
experiences / tips?
m******t
发帖数: 2416
2

Works great for me. Renamed classes/packages are correctly
detected and history preserved. The trick is that right after the
refactoring, hold off whatever other changes you want to make,
and check in the rename change alone.
I have not been using the eclipse plugin, but it seems to be
in some pretty good shape by now.
Oh did I mention git rocks? ;-)

【在 c*****t 的大作中提到】
: Does git work well for Java (consider refactoring etc)? Anyone has
: experiences / tips?

b******y
发帖数: 9224
3
hmm, seems like a good one, made by top programmer for good programmers ;-)
I guess linus got this one right.
but, for me, I use subversion and done a good job for me both my work and my
hobby 剑知小站 project.
m******t
发帖数: 2416
4
Not everyone needs or has to use git, but I do feel that in general
distributed VCS
is the way to go. It gives developers much more flexibility.

my

【在 b******y 的大作中提到】
: hmm, seems like a good one, made by top programmer for good programmers ;-)
: I guess linus got this one right.
: but, for me, I use subversion and done a good job for me both my work and my
: hobby 剑知小站 project.

c*****t
发帖数: 1879
5
I was just worried about two things
1. management of version # itself. i.e. there could be too many versions
that one lost track of which is which.
2. what if one forget to immediately commit the changes after refactoring
of directories / files. Particularly for people switching back-n-forth
between SVN / Git.

【在 m******t 的大作中提到】
: Not everyone needs or has to use git, but I do feel that in general
: distributed VCS
: is the way to go. It gives developers much more flexibility.
:
: my

m******t
发帖数: 2416
6

If by "versions" you mean the sha1 names, you don't have to keep track
of those. Git supports tags just as well.
If they forget to commit right after, but remember it before they actually
commit anything, they can commit the renaming only, and then the rest of
the changes, because git supports selectively committing only some lines
in a file.
If they forget about it all the way, and only remember it after, say, 14
commits later, but have not published them yet (like pushed or being pulled)
they

【在 c*****t 的大作中提到】
: I was just worried about two things
: 1. management of version # itself. i.e. there could be too many versions
: that one lost track of which is which.
: 2. what if one forget to immediately commit the changes after refactoring
: of directories / files. Particularly for people switching back-n-forth
: between SVN / Git.

1 (共1页)
进入Java版参与讨论
相关主题
PHP真火啊请问java的ide
15 high-impact Apache projectsany tools for ...
Re: Desperately need help on DB2 connection through jdbc in jsp page使用eclipse方法对第三方库建立Wrapper的小技巧。
eclipse 气死我了!how to refactor overlayered applications?
Java5 compatibility issueAny body uses wicket framework for web development?
上周,一印度女被fire了HTTP Status 404 The requested resource (/abc/index.jsp) is not available.
Complaint about Java class packageHow do I declare a transaction among 2 spring service calls
请教Programming books请教:windows xp下面可以装cvsnt么?
相关话题的讨论汇总
话题: git话题: java话题: commit话题: changes