I am using force.com migration tool to retrieve newly added fields and field permission for one of the profile from one sandbox and deploy it into another sandbox. I am able to do this successfully. but I have question on the .profile file that is created after retrieve command from the Source org.
Here is Package.xml used during retrieve and deploy,
Here is how .profile file looks after retrieved on the local disk,
Can somone help me understand why the UserPermission are retrieved in the .profile file ? Is this causing to overwrite userpermissions for this profile in the destination org. If I don't want to change anything on the userpermission, is there any way to ignore userpermission ?
Please note - my retrieve and deploy is working without any issue and I can see the correct field permission for the profile in the destination org. I created Package.xml using Force.com IDE
I am curious to know why userpermissions are being added to .profile file.