Git 程式碼管理中 .gitignore 檔案無效的解決方法
阿新 • • 發佈:2019-02-12
Last login: Fri Aug 21 07:23:26 on ttys000 cd /Users/ifeegoo/mobile\_development/Android/workspace/GitignoreFileDemo ifeegoo:~ ifeegoo$ cd /Users/ifeegoo/mobile\_development/Android/workspace/GitignoreFileDemo ifeegoo:GitignoreFileDemo ifeegoo$ git rm -r --cached . rm '.classpath' rm '.gitignore' rm '.project' rm '.settings/org.eclipse.jdt.core.prefs' rm 'AndroidManifest.xml' rm 'bin/AndroidManifest.xml' rm 'bin/classes/com/ifeegoo/demo/gitignorefile/BuildConfig.class' rm 'bin/classes/com/ifeegoo/demo/gitignorefile/MainActivity.class' rm 'bin/classes/com/ifeegoo/demo/gitignorefile/R$attr.class' rm 'bin/classes/com/ifeegoo/demo/gitignorefile/R$dimen.class' rm 'bin/classes/com/ifeegoo/demo/gitignorefile/R$drawable.class' rm 'bin/classes/com/ifeegoo/demo/gitignorefile/R$id.class' rm 'bin/classes/com/ifeegoo/demo/gitignorefile/R$layout.class' rm 'bin/classes/com/ifeegoo/demo/gitignorefile/R$menu.class' rm 'bin/classes/com/ifeegoo/demo/gitignorefile/R$string.class' rm 'bin/classes/com/ifeegoo/demo/gitignorefile/R$style.class' rm 'bin/classes/com/ifeegoo/demo/gitignorefile/R.class' rm 'gen/com/ifeegoo/demo/gitignorefile/BuildConfig.java' rm 'gen/com/ifeegoo/demo/gitignorefile/R.java' rm 'ic_launcher-web.png' rm 'libs/android-support-v4.jar' rm 'proguard-project.txt' rm 'project.properties' rm 'res/drawable-hdpi/ic_launcher.png' rm 'res/drawable-mdpi/ic_launcher.png' rm 'res/drawable-xhdpi/ic_launcher.png' rm 'res/drawable-xxhdpi/ic_launcher.png' rm 'res/layout/activity_main.xml' rm 'res/menu/main.xml' rm 'res/values-v11/styles.xml' rm 'res/values-v14/styles.xml' rm 'res/values-w820dp/dimens.xml' rm 'res/values/dimens.xml' rm 'res/values/strings.xml' rm 'res/values/styles.xml' rm 'src/com/ifeegoo/demo/gitignorefile/MainActivity.java'