git - Android studio pushing commit failing -


earlier attempting remove commit commit history, , went through stackoverflow threads doing stuff rebasing etc.
here attempting push new commit, error feel because of did earlier.

error rebasing fatal: update_ref failed ref 'refs/heads/master': cannot lock ref 'refs/heads/master': ref refs/heads/master @ 9529c90e148e9b2620db0f366587312e75d507b6 expected 808b9dfbc4141d16a29fadb4bd8171c6fe8f4914   

yes, need rebase first , submit checklist, local , remote @ different level.

just save changed files, in tmp directory, rebase(menu->vcs->git->rebase). once origin , remote @ same level, may manually copy these files temp, shown in version control section of android studio. can rightclick changelist , commit , push.

regards ashish


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -