我在netbeans IDE中使用git。我想要更改我最近提交的提交消息。我这样做了,选中了amend last commit
复选框,并将其提交到我的本地存储库。当我将这个提交推送到我的github代码库时,我得到了错误:git remote repository contains commits unmerged into the local branch. open output to see more information.
我该如何解决这个问题?我对源代码控制是个新手。我只想对我当前的项目进行非常基本的版本控制。请告诉我怎么解决这个问题。
屏幕:
输出消息:
git branch
git remote -v
setting up remote: origin
git submodule status
git push https://github.com/double-whammy/netbeans_affablebean.git refs/heads/master:refs/heads/master
Remote Repository Updates
Branch Update : master
Old Id : id1
New Id : id2
Result : REJECTED_NONFASTFORWARD
Local Repository Updates
Branch Update : origin/master
Old Id : id1
New Id : id2
Result : NOT_ATTEMPTED
==[IDE]== Pushing - AffableBean finished.
https://stackoverflow.com/questions/25027653
复制相似问题