Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

We are two developers that have no previous experience in sharing one PHP projec

ID: 652341 • Letter: W

Question

We are two developers that have no previous experience in sharing one PHP project. In particular, cakePHP.

We both use NetBeans and we have set the project up as a "PHP application from a remote server". For the project we also use git + bitbucket for version control as well.

Now the problem is that whenever one of us makes any changes to the code and saves it, it gets updated on the server, but not in the other developer's environment.

Is this the right path we are taking for sharing the project?

How to make the code updates and how to avoid overriding other code?

Explanation / Answer

You need to commit your changes after you make them and push the data to bitbucket.

Once you have done this your partner can fetch the changes from Bitbucket and merge the changes, before repeating the process.

Version Control is designed to prevent you overriding each others code but you must first understand how to use it, there are also plenty of tutorials on youtube etc.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote