Hi Sachin, Thanks for the response. But my question is regarding 'Salesforce to Salesforce' feature, Can we establish S2S connection from a Sandbox to Production and share records? https://help.salesforce.com/articleView?id=sf.business_network_intro.htm&type=5 (https://help.salesforce.com/articleView?id=sf.business_network_intro.htm&type=5) Or this feature is only for 2 different Production orgs?
You can Go through the following lInk.
https://www.sfdc99.com/2013/06/04/how-to-deploy-code-from-sandbox-to-production/
You can also Use Ant Migration. You can go through the below link for Ant Migration.
https://apexcoder.com/2018/07/06/how-to-deploy-apex-code-using-ant/
I hope you find the above solution helpful. If it does, please mark it as Best Answer to help others too.
Thanks and Regards,
Sachin Arora
www.sachinsf.com
Or this feature is only for 2 different Production orgs?