git config --global insteadOf for a project, not global
问题 I created a .gitconfig file using the command git config --global url."https://".insteadOf git:// However, this will replace all git:// URLs WITH https:// ones, for all projects on my computer. I want this functionality, for a specific project. Is it possible to configure a replace for git:// URLs for https:// URLs for a certain project/not global? This project is shared, and I don't want everyone to go through the trouble of running the command locally. 回答1: You can do the following: Edit