looks like you never fetched from your fork. When you run fetch it will download new commits from the respective
remote repository and create remote tracking branches for all branches present in the remote repository.
This is configured in .git/config, a typical remote configuration looks like this
[remote "origin"]
url = "" href="https://git.eclipse.org/r/egit/egit.git" target="_blank">https://git.eclipse.org/r/egit/egit.git
fetch = +refs/heads/*:refs/remotes/origin/*
and will map the remote branches (left hand side of the "fetch =" line) to the remote tracking branches
named like the name "origin" of the remote you are fetching from.
There are basically 3 different types of branches:
- local branches: used to track commits you create locally, local branches typically move when you create a commit,
checkout another branch or reset a branch to a different commit
- remote branches: branches in another repository you may have configured a remote for in your local clone
Thanks for the detailed information.
If I right-click on the repo in the "Git Repositories" view and select "Fetch from Upstream", it gives me a dialog that says "No ref to fetch from yang-ide - fork - everything up to date".
The current .git/config is this:
--------------------------------
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = "" href="mailto:git@xxxxxxxxxx:xored/yang-ide.git">git@xxxxxxxxxx:xored/yang-ide.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
[remote "fork"]
url = "" href="https://github.com/davidmichaelkarr/yang-ide.git">https://github.com/davidmichaelkarr/yang-ide.git
fetch = +refs/heads/*:refs/remotes/fork/*
[branch "RenameSupport-fix-for-prefix-checking"]
remote = fork
merge = refs/heads/RenameSupport-fix-for-prefix-checking
-------------------------