Skip to content

how to delete very first commit #1462

Answered by Byron
mstfdkmn asked this question in Q&A
Discussion options

You must be logged in to vote

For special cases it should be easiest to run repo.git.update_ref(d='HEAD'). You can read more on how to use git directory in the docs.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mstfdkmn
Comment options

Answer selected by Byron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1461 on July 01, 2022 00:57.