How does IntelliJ IDEA package incrementally?

during the development of a Java Web project, if only a few files have been changed. If you want to redeploy to the server, it would be superfluous to pack it in full.

but it is troublesome to copy files one by one and replace them one by one.

is there any way to quickly package the changed incremental package in the IntelliJ IDEA development environment with the help of functions such as git,maven?

Mar.21,2022
Menu