This script will revert all the unneeded changes caused by Interface Builder. For example <animations />
tags, +-1
changes on <rect />
, <point />
, <size />
.
$ brew install https://raw.githubusercontent.com/Reflejo/ib-unfuck-git/master/Formula/ib-unfuck-git.rb
Important: Make sure your changes are still in unstaged state only then this will remove the unwanted changes.
Run ibunfuck
command from your repository directory to remove the unwanted changes.