i can sync origin using
git fetch origin
i am on master branch, origin is a bare repo.
also i can run to push changes to github:
git push github --all
git push github --tags
but why latest commits get using git fetch origin cannot be pushed to github?
when i push, git just replies with: Everything up-to-date
this means that push is in fact not happened :( since the latest commits fetched from origin is not pushed to github, why?
// this is local mirror of origin, and i want to push it to github
[core]
repositoryformatversion = 0
filemode = true
bare = true
[remote "origin"]
fetch = +refs/*:refs/*
mirror = true
url = http://git.mirror.xxx.xx/xxx/root.git
[remote "github"]
url = git@github.com:username/xxx.git
fetch = +refs/heads/*:refs/remotes/github/*