- gitignoreファイルに対象ファイルを定義
- git rm --cached target-file
- git commit -m "xxxxx"
Created
September 13, 2016 04:53
-
-
Save devlights/93b04c3425e2ca0a2c71eb8b84d97bb8 to your computer and use it in GitHub Desktop.
gitでファイルは残したまま、管理対象から外す。(git rm --cached, gitignore)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment