git, strange upstream entry which i cant get rid of
if i do
git remote -v
- Can't create / add a new branch to a git repo with gitpython
- Is there any fix (or workaround) to Git-2.11.0 (3) 64-bit bug in handling double slashes?
- How are environment variables used in Jenkins with Windows Batch Command?
- Git diff broken in window git bash shell (Windows)
- Files to exclude from GIT for Android Studio Gradle Project to maintain the code in MAC as well as Windows.?
- Bitvise SSH + Git + initial directory
origin https://..../foo.git (fetch) origin https://..../foo.git (push) upstream
this last upstream line there prevents me from adding a real upstream which i wanna merge from.
my config file looks like this:
[core] repositoryformatversion = 0 filemode = false bare = false logallrefupdates = true symlinks = false ignorecase = true hideDotFiles = dotGitOnly [remote "origin"] url = https://..../foo.git fetch = +refs/heads/*:refs/remotes/origin/* [branch "master"] remote = origin merge = refs/heads/master
when i do
git fetch upstream
i get this error:
fatal: 'upstream' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
how can i get rid of that upstream?
One Solution collect form web for “git, strange upstream entry which i cant get rid of”
Git has several scopes where config is set :
.git/config of the current repository).
Since there is nothing about
upstream in your
local scope, you have to check the
global scopes. It could simply be a write access permission to associated files.