Githubのリモートリポジトリにフォルダを共有しているのですが、フォルダ名を変更しようと思い
ローカルでフォルダの名前を変えてPushしたのですが、以下のようなエラー文が返ってきました。
github
1! [rejected] master -> master (fetch first) 2error: failed to push some refs to 'https://github.com/...' 3hint: Updates were rejected because the remote contains work that you do 4hint: not have locally. This is usually caused by another repository pushing 5hint: to the same ref. You may want to first integrate the remote changes 6hint: (e.g., 'git pull ...') before pushing again. 7hint: See the 'Note about fast-forwards' in 'git push --help' for details.
フォルダの名前を変更する方法でよい方法があれば教えていただきたいです。
よろしくお願いいたします。
ちなみに、
Gitでmvしたらコケたを参考に
github
1git mv a b
を実行したところ、
github
1fatal: bad source, source=a, destination=b
と返ってきます。
ここではa,bともに小文字です。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/07/08 08:49