Questions tagged [git]
A popular version control system.
35
questions
4
votes
2
answers
89
views
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 ...
1
vote
1
answer
433
views
Plesk: Cannot linke new GitLab repsitories in PLESK
I have created a webspace in PLESK. I have many websites connected with GitLab. For this, I added the SSH public key to my GitLab account.
If I create a new domain and add an old existing git ...
-2
votes
1
answer
432
views
Putting WordPress, Git and Plesk at work together [closed]
I am developing a WordPress 5.2.3 site. My provider offers Plesk Obsidian 18.0.21 as admin tool. I want to store the custom PHP source code and the image upload area on a private GitHub repository. ...
1
vote
0
answers
1k
views
Not allowed to git push to cPanel account
I've seen similar questions on SE, but the solutions haven't worked for me, which I'll get to later.
I have SSH access to my cPanel account and can log in via SSH fine. I made a new repo via cPanel, ...
1
vote
2
answers
463
views
Running "composer install" from .cpanel.yml
I have a VPS with cPanel installed.
I'm trying to run the "composer install" command from .cpanel.yml but can't get it to work.
Composer is installed on the server and called via /usr/local/bin/...
-1
votes
1
answer
66
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 ...
3
votes
1
answer
951
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 ...
0
votes
1
answer
374
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-...
2
votes
1
answer
449
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 ...
0
votes
0
answers
14
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 ...
2
votes
0
answers
375
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 ...
2
votes
2
answers
304
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
1
answer
210
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
0
answers
52
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 ...
1
vote
1
answer
84
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 ...
9
votes
2
answers
16k
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 ...
8
votes
3
answers
231
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?
...
1
vote
1
answer
94
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
1
answer
593
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 ...
6
votes
2
answers
37k
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-...
7
votes
2
answers
478
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 ...
3
votes
2
answers
980
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 ...
4
votes
1
answer
2k
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 ...
0
votes
1
answer
198
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 ...
20
votes
6
answers
19k
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 ...
2
votes
0
answers
90
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).
...
3
votes
0
answers
157
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
2
answers
113
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
1
answer
119
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 ...
4
votes
2
answers
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
2
answers
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 ...
1
vote
2
answers
4k
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 ...
2
votes
1
answer
1k
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 ...
6
votes
2
answers
240
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
1
answer
975
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,...