I have repository created and the following config
file:
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = https://user@github.com/repo/repo.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "develop"]
remote = origin
merge = refs/heads/develop
Now when I use git pull
I get notification to input password for user
but I don't know this user password. However I know password for different user and this user has access to this repository. Is it possible to run git pull
to enter different user than in config
file not modifying this config file?