Skip to content

Instantly share code, notes, and snippets.

@devlights
Created September 13, 2016 04:53
Show Gist options
  • Select an option

  • Save devlights/93b04c3425e2ca0a2c71eb8b84d97bb8 to your computer and use it in GitHub Desktop.

Select an option

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