Wednesday, July 13, 2016

Delete all .bak files

In Bash, you can delete all .bak files like this:


rm $(find . -name '*.bak')


Short and sweet!

How to I pull into a bare Git repository?

This pulls from one bare repository into another:




git fetch origin master:master