ブランチでdevelop
の作業をしていました。私はブランチをもう使用したくないと決めたので、git checkout develop
をしてからgit branch -D branch1.0
で削除しました。その後、私はgit checkout -b branch1.0
でブランチをもう一度作成することにしました(変更はありません)。しかし、今私は新しいブランチをプッシュしようとすると、次のエラーが表示されます:チェックアウトから新しいブランチをプッシュできません
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 checkout master; git push --all origin; '':) ' –