Git

Git remove files which are tagge

2021-06-09  本文已影响0人  JaedenKil

Command:

git rm -r --cached folderName/

Demo:

Changes to be committed:
  (use "git rm --cached <file>..." to unstage)
        new file:   .gitignore
        new file:   Method.py
        new file:   SkipConfig.py
        new file:   TestGvaBasic.py
        new file:   config.ini
        new file:   log/adb.log
        new file:   log/execute.log
        new file:   log/main.log
        new file:   log/suite.log
$ git rm -r --cached log/
rm 'log/adb.log'
rm 'log/execute.log'
rm 'log/main.log'
rm 'log/suite.log'
Changes to be committed:
  (use "git rm --cached <file>..." to unstage)
        new file:   .gitignore
        new file:   Method.py
        new file:   SkipConfig.py
        new file:   TestGvaBasic.py
        new file:   config.ini
上一篇下一篇

猜你喜欢

热点阅读