Kalanand's May 2015 Log

   April 2015   
May 2015
SuMoTuWeThFrSa
     12
3456789
10111213141516
17181920212223
24252627282930
31      
   June 2015   

May 4th

Grep options revisited

May 8th

To git undo all uncommitted changes:

  git reset
  git checkout .

I can also revert uncommitted changes only to particular file or directory:


  git checkout [some_dir|file.txt]

This will remove all local untracked files, so only git tracked files remain:


  git clean -fdx

May 12th

To keep other people's changes intact while modifying files in a common branch, here is the workflow to commit

  git commit -m "my changes"
  git pull --rebase
  git push 

May 15th

To start bluetooth on mac (OSX 10.10.X) from commandline

  sudo kextunload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport
  sudo kextload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport

Go to April's log


Last modified: Fri May 15 16:50:00 PDT 2015