Skip to Content

Git - Ignore file local

Posted on

In git, you can checkout a file forever by using this command:

git update-index --skip-worktree FILENAME

For example: git update-index –skip-worktree Gemfile.lock

comments powered by Disqus