This is my .git/config
configuration file in my repository:
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = git@github.com:<username>/<repository>.git
fetch = +refs/heads/*:refs/remotes/origin/*
[user]
name = <username>
I have correctly configured my public ssh key in github. I pushed my changes into this repository from another machine, which where correctly updated into github.
However in my current machine, when I make a git pull request:
git pull origin master
It says "already up to date"
When it's not the case at all, the updated files in my github repository are not in my local repository.
What can I be doing wrong?
UPDATE:
I've tried the following from the answer from Olivier Refalo:
In github and in local the branches are master.
The output to the command:
git for-each-ref --format="local: %(refname:short) <--sync--> remote: %(upstream:short)" refs/heads
Is the following:
local: master <--sync--> remote:
git remove -v
returns the following output:
origin git@github.com:username/repository.git (fetch)
origin git@github.com:username/repository.git (push)