Gitエラーエラー
fatal: remote origin already existsfatal: remote origin already exists
指定した名前のリモートがすでに設定されています。
gitlinuxwindowsmacos
このエラーの原因
すでに設定されている名前でリモートを追加しようとしました。リポジトリには 'origin'(または指定した名前)というリモートがすでに存在します。
修正方法
既存のリモートの URL を更新します: git remote set-url origin new-url。または、いったん削除してから追加し直します: git remote remove origin && git remote add origin url。新しいリモートには、別の名前を付けてください。
例
git remote set-url origin <new-url>関連するエラーコード
Gitエラーエラー
error: non-fast-forward updateerror: non-fast-forward update
プッシュによってリモートブランチの履歴が書き換えられるため、拒否されました。
gitlinuxwindowsmacos
詳細を表示 Gitエラーエラー
error: empty commit messageerror: empty commit message
コミットメッセージが空のため、コミットが中断されました。
gitlinuxwindowsmacos
詳細を表示 Gitエラー警告
warning: Large files detectedwarning: 大きなファイルが検出されました
Gitがリポジトリを肥大化させる可能性のある大きなファイルを検出しました。
gitlinuxwindowsmacos
詳細を表示 Gitエラーエラー
fatal: tag already existsfatal: tag already exists
指定した名前のタグがすでに存在します。
gitlinuxwindowsmacos
詳細を表示 Gitエラーエラー
fatal: shallow update not allowedfatal: shallow update not allowed
shallow クローンからのプッシュが、リモートが shallow アップデートを許可していないために拒否されました。
gitlinuxwindowsmacos
詳細を表示 Gitエラー情報
nothing to commit, working tree cleannothing to commit, working tree clean
コミットすべき変更がありません。作業ディレクトリは最後のコミットと一致しています。
gitlinuxwindowsmacos
詳細を表示