Questions tagged [git]

A popular version control system.

A popular version control system. See http://git-scm.com/

37 questions
20
votes
6 answers

Can I host my website through gitlab like you can with github pages?

I would love to use git to host my website, and would love a platform I can log into online to go along with it (something like Github). You would think in which case, that Github pages would be the perfect route for me, though I don't want to use…
Ben Watkins
  • 321
  • 1
  • 2
  • 6
10
votes
2 answers

Automatically Trigger Git Pull For Website On Github Push

I have just finished re-designing my website development environment to have all my source code in Github and have managed to set up Git on the remote server so that simply running the git pull origin master command on the web server will update the…
Chris Rutherfurd
  • 10,241
  • 1
  • 14
  • 84
8
votes
3 answers

I know about Sass and Gulp and their benefits, but I have no idea how to actually use them

Obviously, I know they require git, but that's where my knowledge ends. Say I have a .scss file I have edited and I want to compile it and place it on my remote server to see how it looks. What now? There is very little information on how to…
MeltingDog
  • 1,373
  • 3
  • 21
  • 36
7
votes
2 answers

How can I create a git repo that contains several other git repos?

Lets say that I want the create a new website and use git to track my revisions. Now I want to include several helpful things in my site that come from other people's git repos like: html5-boilerplate jquery colorbox Each has its own repo, which I…
Hoytman
  • 459
  • 1
  • 5
  • 12
7
votes
2 answers

MediaWiki VCS backend? (Preferrably DVCS like Git or Mercurial)

As a long-time MediaWiki user, I would like to start a new wiki project because I really appreciate MediaWiki maturity and very flexible and powerful capabilities. But I have doubts that I want to take all of MediaWiki infrastructure on board for…
6
votes
2 answers

Whats the best way to create/handle a dev server?

As I expand on different website changes I'm trying to find a better and safer alternative to my current testing.domain.com and FTP solution. My goal is to put the site in revision control (probably Git due to its excellent branching and tagging…
TheLQ
  • 584
  • 4
  • 14
6
votes
2 answers

Suggestions for tracking a MediaWiki wiki with Git version control?

In my research I found that there seems to be no "single source of truth" for where to post MediaWiki questions. MediaWiki questions have been posted on these many Stack Exchange network subdomains: ProWebmasters, Security, Web Applications,…
5
votes
1 answer

Can GA be a security risk in a Public GitHub repo?

I have added my GA tracking code to a website which is hosted via a GitHub public repository and I am concerned that, using my account number, they could effectively "hack" my GA account. Is this unfounded nonsense or is there some truth behind my…
Sammaye
  • 197
  • 1
  • 6
5
votes
1 answer

PHP remote development workflow: git, symfony and hudson

I'm looking to develop a website and all the work will be done remotely (no local dev server). The reason for this is that my shared hosting company a2hosting has a specific configuration (symfony,mysql,git) that I don't want to spend time…
user2022
  • 191
  • 2
4
votes
2 answers

Develop website locally and push updates on Remote Server using Git

Together with a friend we are looking to develop a website (using Symfony2). We are on a Shared Hosting with SSH access. Below is the environment we'd like to setup: * Use git as Version Control (we are new to Git) * Share the tasks and develop on…
John
  • 41
  • 2
3
votes
2 answers

Alternatives to multiple .htaccess files or a gigantic httpd.conf file

When starting off, I used .htaccess files to instruct Apache how to handle a request. Not only have I read that doing so was inefficient, I found having a multitude of .htaccess files located throughout my file system was next to impossible to…
user1032531
  • 243
  • 1
  • 10
3
votes
0 answers

Deploying GIT repository via FTPS to a shared hosting

I would like to start using GIT for version controling. Here are my prerequisites: I'm on Windows Most of the time I would need to work on Wordpress templates I have to deploy on multiple shared hosting services - no SSH access Some of the hosting…
Joudicek Jouda
  • 535
  • 5
  • 11
3
votes
2 answers

With GIT, is it necessary to deploy with SSH? Is FTP okay?

My company's web server is on shared hosting which means we do not have SSH access. I want to use GIT for our version control, but without SSH access I'm wondering whether or not it is acceptable to deploy my websites via FTP instead. Am I losing…
Jeff K.
  • 131
  • 1
  • 3
3
votes
1 answer

Automatic deploy with cpanel Git™ Version Control not working

I am trying to automatically deploy code to a shared hosting account, using the Git™ Version Control feature of CPANEL. I can see from the history of the remote repository, that my code does reach the remote. and I can see the message generated by…
Rakesh
  • 131
  • 3
2
votes
0 answers

How can I use Git to maintain my site while keeping it online, using only one server?

I would like to use Git to maintain my site while keeping it online, using only one server (i.e., make development changes and hosting it online using the same server, but in different folders). Editing: as people are saying that my question is not…
Iacchus
  • 121
  • 3
1
2 3