- This topic is empty.
-
AuthorPosts
-
December 11, 2013 at 12:36 am #158141
seansean11
ParticipantI’ve been using git for almost a year now at work, for version control on WordPress websites. I feel like I have learned quite a bit about git aside from deployment because we let Beanstalk App take care of that. I tend to never log into Beanstalk App for anything aside from automating my deployments, because I get a good visual of the repo using the SourceTree software.
I recently got my personal hosting off of Fatcow (who didn’t allow ssh connections) and am looking to version control all of my personal projects, but I feel kind of confused without a crutch like Beanstalk. In fact, I would prefer to not have to pay to host my repos anywhere – whether it be on Beanstalk, Bitbucket, or Github. I’ve been reading a lot of tutorials that talk about setting up git on your server and using a post-receive hook for deployment, where it seems like the repos are directly placed on the Web Hosting Server (without using one the aforementioned services). This seems like it would be optimal for me and makes me wonder why I would want to use something Github or Bitbucket with my setup. Maybe someone can clarify for me, and let me know if I’m interpreting these tutorials correctly. Also, I’d appreciate if you could chime in about why I might want to use GitHub or Bitbucket.
Here’s one of the tutorials that I looked at: http://culttt.com/2013/04/08/how-to-deploy-wordpress-themes-with-git/
December 11, 2013 at 5:48 am #158157Paulie_D
MemberSean.
You might want to think about changing your Forum name rather than have your email address out in the wild.
December 11, 2013 at 7:58 am #158164seansean11
ParticipantThanks, not sure how that got set.
December 11, 2013 at 10:30 am #158185TheDoc
MemberBitbucket provides you with unlimited private repos.
December 11, 2013 at 11:04 am #158190seansean11
ParticipantThanks Doc…. that’s awesome and I had no idea. For some reason I thought that they offered a limited amount of private repos. Is there a reason that I should host my repo’s with them over installing my repo’s directly on my server?
December 11, 2013 at 11:22 am #158194TheDoc
MemberThat’s a great question that I don’t entirely have an answer for.
December 11, 2013 at 11:41 am #158198__
ParticipantPersonally, I don’t see any reason not to host my own repos (unless you have a host that doesn’t support it, but most IME do).
For each project, I usually set up a “bare” repo as a staging area, which I can pull/push from either my local repo or the “live” repo on the server.
December 11, 2013 at 5:57 pm #158209seansean11
ParticipantI think I’m going to give it a shot. I’m looking at this documentation right now about how to set up Git on my server:
http://git-scm.com/book/en/Git-on-the-Server-Setting-Up-the-ServerIf I find that I want to use a service (like bitbucket) for some reason, I’ll post it here.
-
AuthorPosts
- The forum ‘Other’ is closed to new topics and replies.