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
Post a Comment