When I tried to build a gradle project by git clone
, I was unable to build it because there was no file named local.properties
.(As far as the usage is concerned in the configuration file, it appears to contain the API key for bintray.)
So I commented out the description of local.properties
in a file, and I was able to build it just in case.Therefore, in this case, it is likely that we can continue developing the changed file by git update-index --assume-unchanged
.
I have a question, how should I deal with files that are generally project dependent and do not exist in the repository?Also, is the solution mentioned above appropriate?
git github
You can create a .gitignore
file in the top directory of the (local) repository, in which you want to ignore management.
Note:
Android app .gitignore-Qiita
#Local configuration file (sdk path, etc.)
local.properties
There is also a service called gitignore.io that automatically generates .gitignore
depending on the programming language and IDE you use.
537 Uncaught (inpromise) Error on Electron: An object could not be cloned
549 PHP ssh2_scp_send fails to send files as intended
542 Unable to install versioned in Google Colab
547 Who developed the "avformat-59.dll" that comes with FFmpeg?
710 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
© 2024 OneMinuteCode. All rights reserved.