Git – Stash Changes

Git Stash Changes This option used to stash the changes in the current working directory away. Syntax: git stash [option] Example: Check the current status of files in your project using git status command. Below output showing that one file is modified and 2 files are newly added. [email protected]:/app$ git status -s M users.txt ?? config.php ?? login.html Run git stash in your project. This will current working directory and index state. You can again run git status and you will find that the modified file is missing from the…

Read More