- くだすれPython(超初心者用) その23
742 :デフォルトの名無しさん[sage]:2014/07/17(木) 16:20:15.97 ID:FWioQIqe - バカそうだから何使っても無理
|
- Git 10
150 :デフォルトの名無しさん[sage]:2014/07/17(木) 18:11:47.91 ID:FWioQIqe - プッシュし終わった跡に間違いに気づいてコミットしなおした
git commit -m "update" git push git add -A git commit --amend -m "update" ここからプッシュした内容をけして新しいコミットのをプッシュする場合はどうしたらよいか?
|
- Git 10
151 :デフォルトの名無しさん[sage]:2014/07/17(木) 18:23:12.64 ID:FWioQIqe - なんかgit pushしたら
! [rejected] master -> master (non-fast-forward) error: failed to push some refs to 'git@*********:*********/*******.git' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. って出たのでgit pullしたら Auto-merging server.php CONFLICT (content): Merge conflict in server.php Automatic merge failed; fix conflicts and then commit the result. ってなったのでコンフリクトを直してaddしてcommitしてpushしました >>150の跡にどうするのが一番良かったのか教えて下さい
|
- Git 10
153 :デフォルトの名無しさん[sage]:2014/07/17(木) 18:40:00.40 ID:FWioQIqe - なるほどそうでしたか
これからはやらないことにします こういうときって2回目のコミットログはfixとかって書いとけばいいですかね?
|