Created
November 16, 2023 00:06
-
-
Save o-az/876d6438908aa0ab57af5bdb9976c5e1 to your computer and use it in GitHub Desktop.
Reset the current branch to the initial commit, keeping the working directory as it is
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git reset --soft `git rev-list --max-parents=0 HEAD` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment