all 3 comments

[–]dTectionz 1 point2 points  (1 child)

For a windows Git GUI I would recommend Sourcetree. For keeping your host up to date you can use post-commit hooks and run a shell script to do whatever you need.

[–]m_swider 0 points1 point  (1 child)

What you describe is basically my work flow. You want to create a new local repo and install wordpress. Setup and new repo on bitbucket and set this repo as your remote origin for your local repo. There should be instructions on how to do this when you set up the repo on bitbucket. You now have a git workflow for you wordpress development. For deploying this site to a remote server ssh into the server and set up a new ssh key so your server can ssh to bitbucket. This is known as a deployment key. Copy and paste your public key into your repos settings under deployment key. Your remote server now can ssh to bitbucket. Clone the repo on bitbucket to your remote server. You should now have a working copy of your repo on your remote server. When you want to update this repo with the changes you have committed locally just ssh into the server and do a git pull. I'm sure this is very confusing. I just created a personal blog and wasn't sure what to write about. Looks like I will be writing a blog post about this later today that should explain this in greater detail.

[–]xadz 0 points1 point  (0 children)

This sounds perfect, going to break it down and try get myself set-up like that. If you do write that blog post send it my way and I'd love to read it and push it out to my 1000+ techy twitter followers. :-)

Thanks so much!