egit - git commit and push not working after rebase -


i rebased branch against master, committed , pushed end result.

this seems work. git status showing

nothing commit, working directory clean

however, when checked remote repository, changed files didn't arrive. confusing , little scary because local client saying dandy (all files safely stored remotely), when isn't.

any suggestions on:

  • how force push remote though local git thinking there's nothing push?
  • how make sure client correctly indicate sync status?

how make sure client correctly indicate sync status?

before pushing, can detect if push fast forward with:

git rev-list origin/yourbranch ^yourbranch 

if returns commit, means yourbranch history replacing 1 origin, you have force push make happen.
see more @ "how detect forced update".


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -