Simply execute `catkin_make_isolated` and `build` and `devel` will have different names, but should be ignored as well.
A ROS gitignore copied form moveit_ros. https://github.com/ros-planning/moveit_ros/blob/hydro-devel/.gitignore