I have two remote repos: azure and github.
azure git@ssh.dev.azure.com/prj/...(fetch)
azure git@ssh.dev.azure.com/prj/... (push)
origin https://github.com/prj/prj.git (fetch)
origin https://github.com/prj/prj.git (push)
Can I ignore one of them when I work with git through IntelliJ IDEA.
I guess the easiest solution would be to remove the remote from the repo.
Got to Git > Manage Remotes
and simple remove the one that points to azure. Same way you can add it later if you need it again.
Alternativ: Open the terminal tab and run git fetch azure
. That way only the one remote is fetched.
For now the only option to control fetch/Pull against particular repository is to remove a remote repository from "Manage remotes" as @Chris mentioned
There are similar requests, please feel free to vote:
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.