You need to sign in to do that
Don't have an account?
Mythili
Code overwritten when using Bitbucket repo
Hi,
I am using Eclispe with force.com IDE for developement purpose. We maintain our code version in Bitbucket. Hence I use Egit in eclipse to interact with Bitbucket and Git from Force.com IDE. When doing Git Pull operation from my remote repository(i.e from Bitbucket) the recent commits from Bitbucket gets pulled and it overrides the code in my eclispe. Because of this my code in eclipse gets overwritten. Any idea how do we handle this?
I am using Eclispe with force.com IDE for developement purpose. We maintain our code version in Bitbucket. Hence I use Egit in eclipse to interact with Bitbucket and Git from Force.com IDE. When doing Git Pull operation from my remote repository(i.e from Bitbucket) the recent commits from Bitbucket gets pulled and it overrides the code in my eclispe. Because of this my code in eclipse gets overwritten. Any idea how do we handle this?
Additional reading http://blog.deadlypenguin.com/blog/2014/07/21/using-git-with-salesforce-and-distributed-teams/
For the second approach you said, I can stash my changes but if some other developer has the working code in force.com server which is done after their commit, there code will get overwrittem because I pull the changes to my eclipse right?