Deductions & credits

Thanks..what if it was military orders that caused the move and we were in the house for less than two years.  What and how do we deal with that.