I'm creating a project with react-native and have the folder android, inside there's file android/app/src/main/AndroidManifest.xml where I have my google api key and I don't want to push this file just once, when I import to project, then I add this path on .gitignore but it doesn't ignore.
how should I put the path on the file gitignore to not push this file ?
您需要将此添加到项目级别.gitignore,然后推送
在您的项目级别.gitignore
文件中,添加以下行:
android/app/src/main/AndroidManifest.xml
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.