I messed something up with git. I have a remote develop
branch in bitbucket that I want to remove all files from and then to commit/push files freshly from the local repository. How can I do that? I can't remove and recreate branch itself.
相关问题
- Why does recursive submodule update from github fa
- Extended message for commit via Visual Studio Code
- Emacs shell: save commit message
- Can I organize Git submodules in a flat hierarchy?
- Upload file > 25 MB on Github
相关文章
- 请教Git如何克隆本地库?
- Access BitBucket payload data in Jenkins pipeline
- GitHub:Enterprise post-receive hook
- Git Clone Fails: Server Certificate Verification F
- SSIS solution on GIT?
- Is there a version control system abstraction for
- ssh: Could not resolve hostname git: Name or servi
- Cannot commit changes with gitextensions
If your local environment is good, you can
git push --force origin develop
, it serves this very purpose.