トップページ > プログラム > 2014年07月17日 > FWioQIqe

書き込み順位&時間帯一覧

10 位/210 ID中時間01234567891011121314151617181920212223Total
書き込み数0000000000000000103000004



使用した名前一覧書き込んだスレッド一覧
デフォルトの名無しさん
くだすれPython(超初心者用) その23
Git 10

書き込みレス一覧

くだすれ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とかって書いとけばいいですかね?


※このページは、『2ちゃんねる』の書き込みを基に自動生成したものです。オリジナルはリンク先の2ちゃんねるの書き込みです。
※このサイトでオリジナルの書き込みについては対応できません。
※何か問題のある場合はメールをしてください。対応します。