I new to git. And using git with UI(smartgit). My manager said me to discard all changes.I saw this command
git stash save --keep-index
But is there any corresponding button in smartgit?
If you have uncommitted files, you can discard your changes by selecting the changed files you want to discard, right click and select "Discard..." Or just select and hit Ctrl+Z.
This is one of my favorite features of SmartGit.