Question Details

No question body available.

Tags

git github github-actions github-pages

Answers (3)

June 15, 2026 Score: 1 Rep: 1,104 Quality: Low Completeness: 70%

but now i want to undo , what i can do for this ? Delete the .git folder/directory for that repository on your local system. If you have pushed to the remote already then you have to delete that repository on Github, following the normal process for that operation (https://docs.github.com/en/repositories/creating-and-managing-repositories/deleting-a-repository).

June 15, 2026 Score: 1 Rep: 1 Quality: Low Completeness: 0%

rm -rf .git if you are using Linux or MacOS and rmdir /s /q .git for Windows. If you want to reinitialize use git init and git add . to stage everything.

June 15, 2026 Score: 0 Rep: 98,036 Quality: Low Completeness: 30%