avatar
c*t
1
Does git work well for Java (consider refactoring etc)? Anyone has
experiences / tips?
avatar
m*t
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?

avatar
b*y
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.
avatar
m*t
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.

avatar
c*t
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

avatar
m*t
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.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。