After cloning repository and performing Gradle refresh. I did Enable Version Control Integration
. After that, all files are now un-versioned. How add to my Gitlab credentials in IntelliJ so that it can recognize the local masters code and I can fetch/ checkout remote branches. Possible solution which I saw in earlier post was
.idea
folder -> vcs.xml
where the $PROJECT_DIRECTORY
is set to vcs
(which it is)..gitignore
contains .idea
(which it does).Response from JetBrains Support:
Looks like IDE shows the same as git status. You have the entire folder ./
as Untracked, IDE just expands it to the list of files. They are untracked because you are looking into the git repository in ~/IdeaProjects/mig-v2-master
which is a fresh one. The one you cloned is ~/IdeaProjects/mig-v2
and seems like it is not opened in the IDE.
Check the project that is opened and mappings in Settings |Version Control.
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.