I just did some experimentation in my local git repo, checking out an old commit for inspection, then checking out the top level and re-setting the head to it.
I then made one commit and pushed it to bitbucket. The origin bitbucket URL is correct and git push -v indicates that all is well:
= [up to date] master -> master
updating local tracking ref 'refs/remotes/origin/master'
Everything up-to-date
But the commit does not appear in my bitbucket list of commits. Is it common for there to be a time lag between push and display of commits? (or should I be worried?)
Turns out it was a Git newbie error; I had inadvertently created a new branch. This morning after some sleep I merged the branch back into master, pushed to bitbucket and the new commits appeared immediately.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.