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

learn more… | top users | synonyms

0
votes
0answers
30 views

Git Pull Origin Master - not working?

Me and my friend share a pantheon site that we are pulling / pushing from together. However when I go to the Dev site and I noticed some changes (like a page being empty) and on my local, that same ...
1
vote
2answers
65 views

Using Git with a Drupal site

May we use git with a Drupal Site ? Because I'm trying to use Git with a Drupal site and it seems that not all the information that are pushed !!! Thank you
0
votes
0answers
13 views

proc_open hangs on drush @local sql-cli windows 10 xampp + git setup

I am unable to go past the proc_open error when I give drush @local sql-cli; I have XAMPP setup. Using drush 7 with git and composer on windows10. I have gone to various posts on Drupal stack ...
1
vote
0answers
24 views

Git hangs when pushing to Drupal.org repo

I have been added as a maintainer to the Competition module so that I can help with the 8.x port. My problem: When I attempt to push progress to our 8.x-1.x branch, git will hang with no response. ...
3
votes
1answer
37 views

When making a new core release, how do mantainers tag the core modules and update their info files?

When Drupal maintainers make a new core release, how do they tag the core modules and update their info files? I have noticed that all the core modules of Drupal 7.43 have a section in their info ...
0
votes
1answer
41 views

How to use Gitlab server as a central staging server for Drupal8? Making the 1st push to Gitlab?

I just installed a Gitlab instance on my LAN. I want to use it as the central repository for a Drupal dev->test->prod staging setup. So, 1st step, I want to push my local "dev" workspace to the ...
0
votes
1answer
27 views

How can I download code from Github?

I'm still running some Drupal 6 sites (because I'm waiting for the Migrate module to work properly in Drupal 8), and I notice that there are some modules in rupal D6 (like Views) which are still ...
3
votes
1answer
39 views

How do I ignore a module .git directory?

I've got a Drupal 8 installation that I manage with Drush 8.1.2, with nothing in that installation in Git except a custom module I am writing (module directory = location of .git directory = /sites/...
1
vote
2answers
33 views

Using git to fetch changes from testing version to live website

I am maintaining and developing a drupal website and have a testing/development version of the site in a subfolder of drupal instalation. I started to learn git and I am wondering about how could I ...
2
votes
1answer
48 views

Configuration management import error

I use a CMI workflow with Git. I made configuration changes on Dev pulled them into Production now when I go to admin/config/development/configuration and try to import All I get this error: ...
1
vote
1answer
28 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 ...
12
votes
2answers
216 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 'over-write'...
1
vote
1answer
36 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
92 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 ...
2
votes
0answers
41 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
23 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
49 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 sites/...
-1
votes
2answers
43 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: /usr/...
3
votes
1answer
23 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
33 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
78 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
65 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
134 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
53 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
73 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
90 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
41 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 ...
3
votes
1answer
278 views

Composer, git and update core and modules

I started working with Drupal 8 and tried 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
39 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
119 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
37 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" projects[example_module][...
0
votes
1answer
46 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
22 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
49 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 7.x-2.0-...
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
57 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
56 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
57 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
27 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
842 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
690 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
29 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
56 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
143 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
145 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
827 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 ...