无需更改提交的Andr​​oid工作室SVN工作室、Andr、oid、SVN

2023-09-04 12:06:30 作者:人走茶凉

我在Android Studio中的Andr​​oid项目,我试图把它放在我的颠覆回购,做承诺。首先,我启用了VCS版本控制的机器人工作室的下拉菜单,然后输入我的项目进入我的颠覆存储库。该项目是存在的,我可以看到它。当我做出一些改变我的code和尝试提交它,它说:没有检测到变化。我所有的文件都变成红色了。我不能做的事情是否正确?如何做到这一点?

I have an Android project on Android studio and I am trying to put it in my subversion repo and do commits. First I enabled version control in the VCS drop down menu in Android studio and imported my project into my subversion repository. The project is there and I can see it. When I make some changes to my code and try to commit it, it says "No changes detected". All my files are turned red too. Am I not doing something correctly? How do I do this?

推荐答案

在默认情况下,Android的工作室并不标志着地方行动回购操作。

By default, Android Studio doesn't mark local actions as repo actions.

要标志着一个新创建的文件为SVN加入,你可以用鼠标右键单击该文件(无论是在层次结构或编辑器选项卡) - >颠覆 - >添加。你可以想象,虽然,这是一个相当繁琐的做的每一个文件。

To mark a newly created file as an SVN add, you can right-click on the file (either in the hierarchy or the editor tab) -> Subversion -> Add. As you can imagine though, this is quite cumbersome to do for every single file.

要更改设置,使新创建的文件会立即标记为回购加,去preferences - >版本控制 - >确认 - >添加静静地(下称文件创建后类别下)

To change the setting so that newly created files are instantly marked as a repo add, go to Preferences -> Version Control -> Confirmation -> Add silently (under the 'When files are created' category).

 
精彩推荐
图片推荐