Git/Eclipse工作流程 [英] Git/Eclipse Workflow

查看:70
本文介绍了Git/Eclipse工作流程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Eclipse编辑Java,并将Git用于我的VCS.我应该将本地存储库放在工作区中还是外部,并在每次提交时都复制文件?我知道我可以做所有的事情,但是我是Git的新手,想知道哪种方法更好.

I use Eclipse to edit Java, and use Git for my VCS. Should I have my local repository in my workspace, or outside it, and copy the files every time I want to commit? I know I can do it every way, but I'm new to Git, and wondering which way is better.

推荐答案

我在工作区中只有本地存储库.我不确定您为什么要将两者分开-为什么要自己创建额外的工作?

I just have the local repository in the workspace. I'm not sure why you'd want to keep the two separate - why create extra work for yourself?

代码,提交;代码,提交...(其中代码"当然包括测试)

Code, commit; code, commit... (where "code" includes tests of course)

这篇关于Git/Eclipse工作流程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆