Questions tagged [git]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
65 views

Applying project config changes with post-receive git hook

I site I'm working on uses a post-receive git hook for deploying changes to the server. At the moment, it looks like this: #!/bin/sh # default cpanel stuff branch=$(/usr/local/cpanel/3rdparty/bin/...
0
votes
0answers
14 views

Trying to get Git clone to run on local Map server

I have been trying to get a Git clone of my companies website running so we can make small changes locally and send it to the developer to save costs, but I can't get the website up and running. My ...
1
vote
1answer
230 views

Should delta.yaml be committed to git?

Getting started with CraftCMS 3.1's project config files and I can't find any documentation about whether storage/config-deltas/delta.yaml should be committed to git
3
votes
1answer
149 views

Correct setup for Craft 3 and Git

New to Craft and general novice full stop. I'm not sure about the correct way to use craft and git together. I currently use BitBucket for version control and have been using ExpressionEngine... so ...
0
votes
0answers
24 views

Better way to manage local plugin in git

Not 100% Craft only, but I have a question on how best to manage code in git. I have a site and a plugin (only for my use), and I've just been doing some major revamp to the plugin, more or less a new ...
2
votes
1answer
342 views

How to Deploy CraftCMS to Dreamhost w/Github

I was recently able to get Craft CMS installed on my local server and I am using MAMP to host locally as I develop the site. I have never set up a site on my own, so I was hoping someone could give ...
2
votes
1answer
914 views

Git configuration for CraftCMS

Please excuse this newbie question (newbie to Git that is). I'm trying to set up my CraftCMS environments with Git and wonder about best practices and how others configure your repositories. In ...
2
votes
4answers
1k views

Recommended workflow when developing new websites

A common workflow for me when building a web page is the following. I'm getting a PSD-file (Photoshop) from a external advertising agency Build the site in Webflow and then export to plain html/css/...
0
votes
1answer
231 views

Craft database and Github - using multiple computers. Issue

I have Craft set up and am using it for the first time. It seems to be ok. I am using git to back up my project to Github and push/pull it between computers as I partly work on my desktop (Windows) ...
3
votes
1answer
312 views

Gitignore pattern to remove image transforms

Not sure on the gitignore pattern I need to add to ignore craft's image transforms it automatically generates. Any ideas?
1
vote
1answer
242 views

Plugin in subfolder for github?

Is it possible to have Craft plugins in subfolders of craft/plugin/ instead of having them right in that folder? So that I can have a parent directory that is my git repository craft/plugin/...
3
votes
1answer
433 views

Updating Craft cause broken git and merge conflict

I've got a local db and install of Craft as well as a remote. I'm pushing to bitbucket from my local Mamp environment then pulling from bitbucket to my server via ssh. I recently updated Craft by ...
8
votes
1answer
968 views

Dealing with Upgrades and Git Workflow

Craft updates come fast and frequent which introduces a problem when working with lots of people in a team. Don't get me wrong, this is a good problem to have! How are dev shops handling the update ...
9
votes
4answers
519 views

What are the Pros and Cons to each image transform technique?

In Craft you can do two types of image transforms: 1. Control Panel Transforms: Via: Settings → Assets → Image Transforms 2. Inline Transforms in your Templates I’m currently using 100% inline ...
15
votes
1answer
6k views

Git Workflow and Multi Environment - how to approach

I'd like to be able to use git version control with Craft. Is this possible and if it is what is the best approach to ensure that all files/assets and the database are properly synced across local, ...