Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 482 Bytes

git-stash-file.md

File metadata and controls

19 lines (12 loc) · 482 Bytes

Stash specific file

This will stash a specific file

git stash push -m {{COMMENT_MESSAGE}} {{FILE_NAME}}

  • COMMENT_MESSAGE: Message needs to be added to the stash.
  • FILE_NAME: Name or path of the file, which needs to be stashed

Example:

git stash push -m "ak-cli-file" ak-cli/commands/git/git-stash-file.md

Related