I recently inherited a project that was setup to use Git and bitbucket.org and I need some clarification on how the workflow moves. My setup is as follows:
- my Drupal site is stored on Bitbucket.
- I also have a XAMPP installed on my Mac to test locally and my production site is on a Linux box.
- I guess I have three repos: Bitbucket, locally and on the production server.
git clone my project to my local machine it saves the files to a Projects folder at
/Users/myaccount/Projects. My XAMPP installation is at
/Applications/XAMPP/htdocs/devsite. So, I have to move the files from
XAMPP to run the Drupal site.
Does that mean when I make changes to the local files found in XAMPP and I am happy with all the changes I want to update both of my other repos? Do I have to move my files back to the Project folder before staging them? Or should I set up where my local files are cloned to?
What's the relationship of the git repository in
Project and the files in my XAMPP installation?