Git is a distributed version control system focused on speed, and real-world usability on large projects.

learn more… | top users | synonyms

1
vote
1answer
15 views

Drupal 8 installation (bash) script. I want the latest stable v8 version each time. But how?

My Drupal 7 script utilised a make file which specified '7.x' as the Drupal version to install, drush make would fetch the correct core files. My current Drupal 8 script uses git to clone and then ...
9
votes
2answers
162 views

How to use the Features module in a 3 dev environnement?

Working on a project, making heavy use of Features, there is sometimes 3 devs for this application. We have tried a few approaches, but when we merge our git branches it seems we often ...
1
vote
1answer
24 views

Coming from Drupal 7, which files should I be versioning with git in Drupal 8 projects?

So, having read through: What are all the directories for in the new Drupal 8 structure? How do the seasoned OO PHP people go about setting up a professional development environment and how can we ...
0
votes
1answer
40 views

Cloning site and $config_directories

On my local Drupal 8 multisite environment in sites/default/settings.php I have: $config_directories['staging'] = 'sites/default/config/staging'; $config_directories = array(); Because the default ...
-1
votes
0answers
24 views

After cloning Drupal 8 site from local to remote white screen

I have a local multisite setup using Acquia Dev Desktop. I cloned my site to a remote host using git pull All my code is on the wright place on remote host I made a database dump from my local site, ...
2
votes
0answers
17 views

Git workflow and Acquia Dev Desktop .dd files

Using Acquia Dev Desktop I created a multisite setup. All working fine. I added all files to a local Git repository I added a .gitignore file I pushed all the files to a central remote repo I ...
0
votes
0answers
13 views

Cloning multisite and changing directories

I have a local Git repo with my Drupal 8 multisite setup (using Acquia Dev desktop). I ignored some files and have my .gitignore file: sites//settings.php sites//services.yml sites/*/files ...
0
votes
0answers
22 views

Drupal 8 Multisite configuration directories of subsides

I set up a local Drupal 8 multisite, using Acquia dev desktop. Its working fine. I added all Drupal 8 core files to my local repository and pushed them to a central remote repository. in ...
-2
votes
1answer
16 views

Creating platform based upon git repo keeps failing

Creating a platform based upon a git repo within Aegir keeps failing. I cloned the repo myself and did a drush make, which succeeded, so I'm not sure what is going wrong. It keeps failing on: ...
3
votes
1answer
20 views

Features - keeping Git up to date when changing features on production

I have a Drupal 7 site with a UAT version and Production version. Most of the features on production have been overridden. I want to keep my repository up to date in case anything happens to my ...
-1
votes
1answer
28 views

Git local repo in combination with Acquia Cloud Dev repo adding contributed modules with Drush

I try to add contributed modules to my local repo following this article. curl https://ftp.drupal.org/files/projects/admin_toolbar-8.x-1.14.tar.gz | tar fz Its not placing the .tar.gz file in my ...
0
votes
1answer
49 views

Git making code changes in local branch 'develop' and push to Acquia Cloud Dev

I cloned Drupal 8 core and modules from my Acquia Cloud distro into my local repo. In my local repo I have 2 branches * developand master. Currently I am in develop branch. I made some small changes ...
0
votes
1answer
44 views

How use settings.local.php with Acquia Cloud [duplicate]

I try to setup my .gitignore file. My local repo is a clone from my Drupal 8 distro from Acquia Cloud. (I want to theme my template locally and then, step by step I want to push it to Dev on Acquia ...
0
votes
1answer
64 views

.gitignore file setup for Acquia Cloud

I want to add .gitignore file to my local repo. My local repo is a clone from my Drupal 8 distro from Acquia Cloud. What are best practices for my .gitignore file for Acquia Cloud hosted sites? I ...
0
votes
1answer
44 views

Git Workflow Acquia Cloud and Acquia Dev desktop

I use Acquia Cloud and installed Drupal 8 and cloned this (origin) locally using Acquia Dev desktop. To use Dev Desktop I think I'm able to develop the Front-end design faster, instead of ...
0
votes
1answer
57 views

Drupal and Git workflow using Acquia cloud

Currently i have my central repo (origin repo) on a Bonobo Git Server. I have followed those steps to use Acquia Cloud with a remote repository. On my Acquia cloud repo i installed Drupal 8. also ...
2
votes
1answer
81 views

How to update my module's dev branch on Drupal.org

I have a module on Drupal.org and I only have a dev branch. This is how I added my dev branch by tagging with 7.x-1.x-dev: git commit -m 'Creating module' git push origin 7.x-1.x git tag 7.x-1.x-dev ...
1
vote
1answer
29 views

Is it possible to patch a non-dev version of a module?

I can create patches from dev copies of modules just fine thanks to this documentation, but when I try to create a patch from a non-dev version I get troubles. If possible, How do I do this?
0
votes
2answers
38 views

How can I download specific dev version of Drupal module?

What to do when I want specific dev version of Drupal module. For example: Geocoder dev version from Jan 07 2016 is broken. Latest working dev version was from Sept 01 2015. How can I download ...
0
votes
1answer
42 views

How do I upgrade using GIT? [closed]

From time to time, there will be minor and major updates to Drupal core. If the release is designated as a security update, we should apply the update as soon as we can. Otherwise, we may choose to ...
2
votes
0answers
193 views

Drupal 8: composer, git and update core and modules

I started working with Drupal 8 and try to find out the best way for developing and administrating projects. As Drupal 8 with all its dependencies is very big (more than 60 MB) I like the suggestion ...
0
votes
0answers
32 views

Manage a git module repository on a remote virtual server using Eclipse

New to Eclipse and git.. I would like to change a Drupal module with Eclipse (mars) and Git: How can I use Git with Eclipse (local) with a 'remote' virtual machine running my Drupal-Site and have ...
3
votes
3answers
109 views

Recursive Drush make, working with different git branches

Setup For every site we make a custom Drupal install profile is created, copies of which are built using drush make (through Aegir, though that should not make a difference). There is a top-level ...
0
votes
1answer
36 views

Drush make, git repository checkout specific subdirectory

I've got a make file in which I want to pull in a remote Git repository and only fetch a subdirectory. I've tried as following: projects[example_module][type] = "module" ...
0
votes
1answer
34 views

Drupal Deployment to Dev & Prod and Git Code Repository Setup

I have a dev and a prod server with 4 other developers. What is the most efficient way of setting up a development code push environment without the need to have to get too involved in the process? I ...
0
votes
1answer
27 views

Repository module code completely different from downloaded file

Using the Drupal Soundmanager2 module that hasn't been updated in about three years. Added a little functionality and want to submit a patch. I think this can be done via git: git clone --branch ...
0
votes
1answer
20 views

Module to import github content onto local drupal server

I want to be able to put content from github into the sites/default/files folder of drupal so I was wondering if there was a way to do this.
1
vote
1answer
46 views

Checkout a specific dev version of module using git

I want to checkout a specific dev version of the feeds module using git. I have a site which is using feeds 7.x-2.x-dev. On the modules admin page the module version number is reported as ...
1
vote
1answer
17 views

Drupal-git-sandbox project: commits are shown but no new revision

I don't know why I have no new revision, what I do: I change my code locally, then: git add -A git commit -m "bla" git push -u origin 7.x-1.x Result: A new commit is shown in my sandbox repository ...
2
votes
1answer
1k views

How to install drush 8 properly on Debian 8?

Finding hundreds of articles and documents about how to install drush and none of it explains where exactly and how properly I got a bit lost. I've got a Debian 8 system with a root user, NGinx and a ...
1
vote
2answers
55 views

Why is the recommended release of my module not proposed in Drupal updates?

For my contributed module I've previously published several releases without any issue. Most recent releases were successively 7.x-2.0rc2 then 7.x-2.0 and 7.x-2.1. As of 7.x-2.1 the following ...
0
votes
1answer
51 views

Git push to drupal.org always returns “Everything up-to-date”

This same question was asked many times, but for now I didn't find any help in the responses. I have a project in a sandbox which I frequently pushed to the DrupalGit repository without any issue ...
1
vote
1answer
47 views

Is there any way to connect Acquia Cloud intance with issue tracker?

As in question, I'm looking for a way to connect any issue tracker with a development site hosted by Acquia Cloud. I want to have a connection between git commits and issues. Is this possible in ...
1
vote
1answer
26 views

Git: How to grab multiple commits from a different release branch

I am currently a maintain a module on Drupal.org. I had high hopes of working on a 8.x release, however I ran out of time and made extra commits in the 7.x-2.x branch. Now my git repository looks ...
9
votes
4answers
728 views

How to maintain a Drupal project on GitHub

I maintain several modules on drupal.org. Having spent years doing things "the drupal way" (remember CVS?) I'd like to make my life a bit easier and use GitHub. While there may be political reasons ...
4
votes
5answers
618 views

How can you gitignore items in a Drupal project without modifying core?

I have a Drupal project, and we want to use Git for version control, but we need to have some folders that are ignored by Git. The problem is that .gitignore seems to be a core file. After the last ...
0
votes
0answers
26 views

Automating update.php after git pulls

So I have the following infrastructure (that cannot be changed): A central repository A ton of drupal websites that automatically pull via anacron Right now, I'm trying to keep the modules in this ...
0
votes
1answer
55 views

Install a distro from an online repository core make file

I would like to use the hosting tool Aegir to install this distribution from a make file directly: http://cgit.drupalcode.org/elmsmedia/plain/drupal-org.make what is the "workaround" to be able to ...
3
votes
1answer
137 views

How to capture git's output in drush make?

We use drush to clone a number of git-repositories during build. Most of the time this "just works", but on (a rare) occasion, a cloning fails. Unfortunately, all that we get from drush in such cases ...
0
votes
1answer
136 views

Git with Drupal 7 multi-site, naming directories

I have been working in a single installation of Drupal 7, which has two sites built upon it. In Drupal 7 multiple sites are served by naming a directory for each site to be served under /sites and ...
1
vote
0answers
766 views

How to update a library through drush or git url? what about update chosen library?

I am new with Drush and git... previously I use to work with Ftp so at the moment I would like to know How I can update a common library by using drush or by using git (library url). I know that in ...
1
vote
1answer
61 views

Setting up connection between existing drupal site, local git station on laptop, and existing site on pantheon

I am a real newbie to all this so I appreciate all the help. I am helping a company develop a Drupal website which already exists and is hosted on Pantheon. I have login access to the drupal site. ...
0
votes
1answer
55 views

Recommendation for hosting Git VCS from my drupal installation

Our community does a lot of coding work (lua, c#, php, etc) and we are looking to move away from the usual repo hosts (BitBucket/GitHub/Jenkins) and make our website more of an all-in-one experience. ...
1
vote
1answer
102 views

sites/drupal folder not pushed to git repository

My .gitignore in the drupal root is as follows: # Ignore configuration files that may contain sensitive information. sites/*/*settings*.php # Ignore paths that contain generated content. files/ ...
0
votes
0answers
25 views

Set up site where only theme and contributed modules are under git version control

I'm working on a site for a large organization where they host a git repository for the code. But that doesn’t include a copy of Drupal (the core). Their repo has modules and themes directories, ...
1
vote
1answer
288 views

Does storing my database as a .sql file in my site git repository cause problems?

I have been saving a series of database export files each time I do a git commit of my Drupal site. I have a nice git repository for my site files and a messy folder for my database backups. Because ...
2
votes
1answer
447 views

Run “git” on remote server with drush alias

I would like to launch git commands, on my production server, from my pc. The document root of the production application is a clone of the git repository. On prod, on sites/all/drush/drushrc.php ...
4
votes
3answers
238 views

How do I preserve custom files in my Drupal configuration across minor core upgrades?

When I do a minor upgrade of the core, my custom .htaccess and robots.txt are overwritten. How do I prevent that?
0
votes
1answer
2k views

Did you run git update-server-info on the server? [closed]

I am trying to build module for GIt When I am cloning git clone http://git.drupal.org:sandbox/TanvirAhmad/2204859.git limit_publishing_options I see.. Cloning into 'limit_publishing_options'... ...
1
vote
2answers
39 views

Is there a way to iterate on all Drupal modules on d.o? [duplicate]

I'd like to iterate on all contrib modules, pull their repos and extract information (such as drush commands, graph dependencies, etc.) Is there a way to list all modules, other than scraping ...