Reputation: 29314
I was in the wrong folder, and I did git init
followed by git pull *repo*
, now my folder is cluttered with files I don't want. Is there a way to get rid of them all?
Upvotes: 0
Views: 73
Reputation: 8819
Since you just did the init (assumes you are not on a windows OS):
dir=`pwd`
cd ..
rm -rf $dir
mkdir $dir
cd $dir
git init
Upvotes: 1