Questions tagged [git]

A popular version control system.

Filter by
Sorted by
Tagged with
20
votes
5answers
18k views

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 ...
8
votes
3answers
171 views

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? ...
7
votes
2answers
7k views

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 ...
6
votes
2answers
356 views

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

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 ...
6
votes
2answers
217 views

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 ...
5
votes
1answer
938 views

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,...
4
votes
2answers
1k views

Develop website locally and push updates on Remote Server using Git [closed]

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 ...
3
votes
2answers
12k views

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

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-...
3
votes
2answers
702 views

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 ...
3
votes
2answers
3k views

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 ...
3
votes
0answers
152 views

Deploying GIT repository via FTPS to a shared hosting [closed]

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 ...
2
votes
1answer
56 views

Webhook HTTP STATUS 500

My webserver has multiple domains that I manage with PLESK. Each domain is connected to a git repository on bitbucket.org: I have set SSH Keys and webhook in my bitbucket repository. The automatic ...
2
votes
1answer
1k views

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 ...
2
votes
2answers
112 views

What's the canonical process for backing up a website? [closed]

This is going to sound terrible, but bear with me. I currently have a cron job that does a mysql dump, a git add all and commit, and a git push to bitbucket. I set this up almost a year ago, when I ...
2
votes
2answers
243 views

Re-add Netlify deploy key to Github

I deauthorized Netlify from my Github but re-authorized it again. How can I get the Netlify deploy key so that I can re-add it to my Github repo? It was auto removed when i deauthorized Netlify.
2
votes
1answer
179 views

Use git to deploy updates to my site directory through cPanel

I am trying to workout how I can get my public_html dir to update directly from a git repository. On looking through Google at the tutorials available they all include the step of a local machine - I ...
2
votes
1answer
111 views

Public Bug Tracking and Version Control System

We're in the process of moving out of a private beta into our live version of the site. We're trying to find a good Bug Tracking System + Version Control system. Our CEO has requested that the new ...
2
votes
1answer
956 views

Running into problems hosting a website on Heroku

I'm starting to learn more on the back-end scale of programming. Recently I started up Heroku for the second or third time. This time I actually installed the Git update to my Mac and installed ...
2
votes
0answers
85 views

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

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). ...
1
vote
1answer
76 views

Trimming the last N changes in MediaWiki in order to “rebase” history from a Git-powered backup?

Recently the wiki I administer in some sense has "crashed" due to a database that seems to be completely lost. Just the database, not the MediaWiki installation, extensions or media. Unfortunately, I ...
1
vote
1answer
2k views

Override .htaccess from parent directory

I have a local LAMP stack (without the MySQL. LAP stack? Anyways..) and I am using this as a development environment for a production website. The site is placed in a sub-directory of the Apache2 ...
1
vote
1answer
58 views

GitHub service to deploy via git-mediawiki

I've been helping write documentation and manage the website for SuperTuxKart, an open-source racing game. The website uses MediaWiki, but we've discussed things and decided after our switch away from ...
1
vote
1answer
260 views

How do I set up WHM/cPanel to back up to GitHub?

I've been motivated to start using GitHub because a potential employer wants to see my source code, but I'm finding the process of committing the files manually from my computer after downloading them ...
1
vote
0answers
33 views

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 ...
1
vote
0answers
100 views

Plesk git for multiple domains

I have two websites on plesk, let's call them main.com and test.main.com I want to create one central git repo hosted on my server. Then I want split it into two branches, main and dev. A folder of ...
1
vote
0answers
37 views

How would one setup a website like MSDN Powershell documentation? [closed]

Not fully sure if this is the place to ask, but here goes nothing: The MSDN PowerShell documentation uses a git repository for its source. I would like to setup something similar. I tried with ...
0
votes
1answer
181 views

Deploy website with Git pull

I have a website server with git to which I have ssh access. I can pull to any folder above the public_html but the provider does not want to host git repositories so I cannot push to it. The ...
0
votes
0answers
14 views

Cannot access repository via cPanel Git™ Version Control module

I cannot see any repositories in the cPanel Git™ Version Control module, even though the files were successfully pulled from the remote and are visible in the file system. I am trying to setup ...
0
votes
1answer
25 views

How to use a git repository to version control a whole website including databases that are made with phpmyadmin? [closed]

In the past I didn't use git and just created my web-projects local on my computer using XAMPP. By that I could create databases via phpmyadmin and simply save my other website files in the htdocs-...
0
votes
0answers
13 views

Git hub repository pages inside the nested folder are not ranking [duplicate]

I have a git hub repository for hackerrank solutions which is ranking very well. Here is the link- https://github.com/Java-aid/Hackerrank-Solutions My repository is ranking well if someone searches ...
-1
votes
1answer
23 views

How do I keep a raw HTML version of my website alongside one with CSS styles and classes applied [closed]

I am in the process of making a simple website with informational content and I am interested in keeping a raw html version of my website (that is without any divs or other things that are used to ...