13 July 2015

When you have multiple instances or sync for local ide. You might want to checkout all changes and then do git pull. The issue is that there are different commands for different actions. This can basically be achieved by two commands in a row.

Source code viewer
  1. git clean -df
  2. git checkout -- .
Programming Language: Bash