github showing 13th April’s commit as my last commit. I just did push few minutes but its not showing up commits after April 13 I can do git log and see commits that was made after April 13.
github showing 13th April’s commit as my last commit. I just did push few
Share
According to your comments, you’re on a branch called
query/master, which is slightly unusual. Was creating that branch (refs/heads/query/master) deliberate?In any case, the problem is as follows. When you do:
… git assumes that you mean:
… i.e. “try to make the
masterbranch inoriginthe same as my localmasterbranch”. However, you’re not on the local branch calledmaster– you’re onquery/master. Instead you need to do:If what you really want is to start working on your
masterbranch instead ofquery/master, then you can do the following:Thereafter, when you’re working on the
masterbranch,git push origin mastershould do what you expect.