shelve in git code example Example: git stash //to restrict file to add for commit git stash pathOfFile