I have some changes I made from another computer and sent it to remote repository.
When I try to make a git pull origin <branch>
from home to get those changes it
says Already up-to-date
but the changes are not in my computer, the files have not changed.
Why?
Edit 01:
When I try git log
commit 10ewwqe9989861ad33335e40188dcab598bc2312 Author: Name
Date: Sun Nov 27 23:46:40 2016 -0200
< commit message here >
If I check this commit code/name on bitbucket commits section, I see that THIS commit is one behind than the last commit present in my remote repository.
Edit 02:
>$ git remote -v
origin https://bitbucket.org/username/repositoryName (fetch)
origin https://bitbucket.org/username/repositoryName (push)
>$ git fetch origin
From https://bitbucket.org/username/repositoryName
* [new branch] myBranch -> origin/myBranch
>$ git log myBranch..origin/myBranch
commit 0220ff...
Author: John Doe <[email protected]>
Date: Mon Dec 28 16:43:07 2016 -0200
Name of my last update to remote repository
The log command shows the right last commit, the last one that is in my remote repository and the one I want to bring to my local files... But local files still unchanged.
git fetch origin
and then do agit log <branch>..origin/<branch>
for us and give us the output? Make sure to use only two dots. Also, what doesgit remote -v
show? Does it show unexpected remotes?