git clean does nothing -


i trying clean working tree, however, when enter git clean --force nothing happens.

$ git status on branch master branch ahead of 'origin/master' 1 commit.   (use "git push" publish local commits)  untracked files:   (use "git add <file>..." include in committed)          packages/microsoft.aspnet.webpages.2.0.30506.0/         packages/microsoft.data.edm.5.2.0/         packages/microsoft.data.odata.5.2.0/         packages/microsoft.net.http.2.0.20710.0/         packages/microsoft.web.infrastructure.1.0.0.0/  nothing added commit untracked files present (use "git add" track)  $ git clean  --force  $ git status on branch master branch ahead of 'origin/master' 1 commit.   (use "git push" publish local commits)  untracked files:   (use "git add <file>..." include in committed)          packages/microsoft.aspnet.webpages.2.0.30506.0/         packages/microsoft.data.edm.5.2.0/         packages/microsoft.data.odata.5.2.0/         packages/microsoft.net.http.2.0.20710.0/         packages/microsoft.web.infrastructure.1.0.0.0/  nothing added commit untracked files present (use "git add" track) 

likewise, git clean -i has no effects either.

these directories, in order remove directories need use command :

git clean -f -d 

thanks this answer.


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -