开发者

Should we move to GIT completely from GIT-SVN [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
开发者_如何学C

Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.

Closed 9 years ago.

Improve this question

We use git-svn since the very beginning of our development. Is it a better idea to move to pure git?

We use to commit and checkout our code on a lot of different environments and machines. Currently we use svn to checkin/checkout code on remote machines and git-svn on development machines.


Git can completely replace your git-svn infrastructure if you want.

Simply consider changing the central SVN repository by a "central" git repository.

If you don't depend specifically on SVN (like client software for your "remote" machines, user credentials to access code base, ...), it is a good idea to use one tool to do the job.

Git is usable on popular platform like Windows, MAC-OS and of course Linux.

On the practical side, simply clone the git-svn repo, using the --bare option, like that:

git clone --bare /path/to/mygit-svn-repo/

and export it to a "central" location. Then add this remote repository to your .git/config and keep on coding!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜