最新版的Android Studio, 正確Git設定應該係點?
用最新版android studio起左一個新project
得到以下幾個file
假如我係用sourcetree, 正確的git設定方法, 應該係在邊個folder底下init? 有邊D folder/file應該ignore? 有邊D folder/file應該include?
成個project入面, default有兩個 .gitignore, 但入面完全無寫到mipmap, 唔通咁都叫正確?
C:\PRO
│ .gitignore
│ build.gradle
│ gradle.properties
│ gradlew
│ gradlew.bat
│ local.properties
│ pro.iml
│ settings.gradle
│
├─.gradle
│ └─2.4
│ └─taskArtifacts
│ cache.properties
│ cache.properties.lock
│ fileHashes.bin
│ fileSnapshots.bin
│ outputFileStates.bin
│ taskArtifacts.bin
│
├─.idea
│ │ .name
│ │ compiler.xml
│ │ encodings.xml
│ │ gradle.xml
│ │ misc.xml
│ │ modules.xml
│ │ runConfigurations.xml
│ │ vcs.xml
│ │ workspace.xml
│ │
│ ├─copyright
│ │ profiles_settings.xml
│ │
│ └─libraries
│ appcompat_v7_23_1_1.xml
│ support_annotations_23_1_1.xml
│ support_v4_23_1_1.xml
│
├─app
│ │ .gitignore
│ │ app.iml
│ │ build.gradle
│ │ proguard-rules.pro
│ │
│ ├─build
│ │ ├─generated
│ │ │ ├─res
│ │ │ │ ├─resValues
│ │ │ │ │ └─androidTest
│ │ │ │ └─rs
│ │ │ │ ├─androidTest
│ │ │ │ │ └─debug
│ │ │ │ └─debug
│ │ │ └─source
│ │ │ ├─aidl
│ │ │ │ ├─androidTest
│ │ │ │ │ └─debug
│ │ │ │ └─debug
│ │ │ ├─buildConfig
│ │ │ │ ├─androidTest
│ │ │ │ │ └─debug
│ │ │ │ │ └─com
│ │ │ │ │ └─pro
│ │ │ │ │ └─test
│ │ │ │ │ BuildConfig.java
│ │ │ │ │
│ │ │ │ └─debug
│ │ │ │ └─com
│ │ │ │ └─pro
│ │ │ │ BuildConfig.java
│ │ │ │
│ │ │ ├─r
│ │ │ │ ├─androidTest
│ │ │ │ │ └─debug
│ │ │ │ └─debug
│ │ │ │ ├─android
│ │ │ │ │ └─support
│ │ │ │ │ └─v7
│ │ │ │ │ └─appcompat
│ │ │ │ │ R.java
│ │ │ │ │
│ │ │ │ └─com
│ │ │ │ └─pro
│ │ │ │ R.java
│ │ │ │ |
|
|