如题所述
Android Studio SVNé
置忽ç¥æ件
1.ç¨Android Studioå建ä¸ä¸ªé¡¹ç®ï¼ä¼å¨æ ¹ç®å½åModuleç®å½ä¸èªå¨çæ.gitignoreæ件ï¼è²ä¼¼æ¯Gitçé ç½®æ件ï¼åSVN没æå ³ç³»ã
2.æå¼Setting-Version Control-Ignored Filesï¼æ·»å 忽ç¥æ件ï¼ææç¥éç忽ç¥æ件å¦ä¸ï¼
1ã.ideaæ件夹
2ã.gradleæ件夹
3ãææçbuildæ件夹
4ãææç.imlæ件
5ãlocal.propertiesæ件ã
3.注æä¸ç¹ï¼é 置忽ç¥æä»¶å¿ é¡»å¨Shareå°SVNä¹åè¿è¡ï¼å¦æå¨Commitåé ç½®ï¼è²ä¼¼å°±ä¸èµ·ä½ç¨äºã
4.å½å享è é ç½®äºå¿½ç¥æ件并Share Projectå°SVNåï¼å ¶ä»äººCheckä¸æ¥å°±ä¸éè¦é ç½®äºï¼Commitçæ¶åä¼èªå¨å¿½ç¥é£äºæ件ãä½æ件åæ¾ç¤ºä¸ºçº¢è²ï¼è¿æ¶é ç½®ä¸å¿½ç¥æ件就æ¢å¤æ£å¸¸äºã
1.ç¨Android Studioå建ä¸ä¸ªé¡¹ç®ï¼ä¼å¨æ ¹ç®å½åModuleç®å½ä¸èªå¨çæ.gitignoreæ件ï¼è²ä¼¼æ¯Gitçé ç½®æ件ï¼åSVN没æå ³ç³»ã
2.æå¼Setting-Version Control-Ignored Filesï¼æ·»å 忽ç¥æ件ï¼ææç¥éç忽ç¥æ件å¦ä¸ï¼
1ã.ideaæ件夹
2ã.gradleæ件夹
3ãææçbuildæ件夹
4ãææç.imlæ件
5ãlocal.propertiesæ件ã
3.注æä¸ç¹ï¼é 置忽ç¥æä»¶å¿ é¡»å¨Shareå°SVNä¹åè¿è¡ï¼å¦æå¨Commitåé ç½®ï¼è²ä¼¼å°±ä¸èµ·ä½ç¨äºã
4.å½å享è é ç½®äºå¿½ç¥æ件并Share Projectå°SVNåï¼å ¶ä»äººCheckä¸æ¥å°±ä¸éè¦é ç½®äºï¼Commitçæ¶åä¼èªå¨å¿½ç¥é£äºæ件ãä½æ件åæ¾ç¤ºä¸ºçº¢è²ï¼è¿æ¶é ç½®ä¸å¿½ç¥æ件就æ¢å¤æ£å¸¸äºã
温馨提示:答案为网友推荐,仅供参考