15 ms·
# create a new branch from the current state of master git checkout -b some-new-branch-name # remove the commit from the master branch git checkout
by OJFord 10y ago
# create a new branch from the current state of master
git checkout -b some-new-branch-name
# remove the commit from the master branch
git checkout master
Or just `git branch some-new-branch-name`...
cd ..
sudo rmdir nsfw-git-repo-dir
That will only remove it if it's empty? Which it never will be, because there's at least `.git/*`...
Still, amusing :)