I have an android project that I work on Android Studio. I work on it mainly on my desktop and I have integrated with git and push all the commits to GitHub. Now when I'm away from my desktop, I use my laptop. I have been using
git pull origin {branch name}
to grab the most recent changes of the project from GitHub to use it on my laptop. When I had committed and pushed it to GitHub from my Desktop, it was in a clean state when I check git status
.
Then when I pull the updated project to my laptop, I check its status and I get this message saying these files have not been added:
modified: .idea/.name
modified: .idea/compiler.xml
modified: .idea/misc.xml
modified: .idea/modules.xml
But I hadn't changed anything. I just pulled the branch from GitHub. Can someone explain what I should do here to fix this? This keeps happening. I don't want to be committing files that are just .idea files.