Skip to content
Backend developers

Backend developers

Unus pro omnibus, omnes pro uno

  • Tools

Category: Uncategorized

How to reset a git branch to another branch without checking out

git fetch origin branchA:branchB –force-with-lease
git push origin branchB –force-with-lease

Author adminPosted on 17/12/202117/01/2022Categories UncategorizedTags GITLeave a comment on How to reset a git branch to another branch without checking out

Recent Posts

  • How to reset a git branch to another branch without checking out
  • How to create a new git repository on a server
  • Extending String prototype with useful methods
  • Create a self-signed TLS certificate for your local development
  • Retry mechanism paradigm with back-off

Recent Comments

    Archives

    • December 2021
    • March 2021
    • May 2020
    • May 2019
    • April 2019
    • March 2019
    • February 2019
    • January 2019

    Categories

    • git
    • nodejs
    • security
    • Uncategorized

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org
    • Tools
    Backend developers Proudly powered by WordPress