If you must, Only jump start with the car off. If you Give someone a boost with the car running, You will end up damaging your computer. Like it was already posted, Invest in a Power pack.
If you need to disconnect the battery, Use a Memory Data Saver ( https://www.amazon.com/gp/product/B07DNC4B11/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1). This tool with save you from having to reset the electronics in your car.