how to ignore file in vs while pushing into github code example Example: git ignore updates to file git update-index --skip-worktree path/to/file.txt