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
9 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
0answers
18 views

Pitfalls of running Drupal 7 codebase straight off of a git clone of the repo? [duplicate]

I used to download the drupal 7 tar/zip files and unzip it onto my dev/prod servers to upgrade drupal 7. Since everything is managed via git, I was thinking why not just use the repo directly instead ...
0
votes
0answers
12 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
19 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
23 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
16 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
24 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
14 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 ...
0
votes
1answer
138 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
45 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
36 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
29 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
24 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 ...
8
votes
4answers
282 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 ...
0
votes
0answers
30 views

(WAMP multi-site set-up) Why are symlinked folders causing blocks to be disabled?

First question posted here, so bear with me. I'm working with a WAMP setup, Windows 8.1 + latest Drupal 7.x. One of my installations is a multi-site with several sites hosted within. My problem ...
4
votes
5answers
374 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
21 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
41 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
102 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
86 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
545 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 ...
0
votes
1answer
55 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
45 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. ...
0
votes
1answer
73 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
186 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
298 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 ...
3
votes
2answers
166 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?
-1
votes
1answer
1k 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 ...
0
votes
1answer
23 views

Getting Files to show up on new submitted Module page

I have a module that is ready for public use, and I have created a Drupal Account and created a development sandbox, and even uploaded the files via git. Now, I am very much a newb regarding git, so ...
4
votes
2answers
268 views

How to deploy translations in code?

As the title states, I want to export the translations in code and deploy it with a version control system like GIT. We have a multi-language Drupal system (English and German) and we have ...
2
votes
1answer
505 views

Clone Private Git Repo via Drush Make file fails using ssh authentication

I have multiple private git accounts set up with ssh system's keychain authentication for each git repo It works to clone private git repos from command line: git clone ...
1
vote
1answer
216 views

How to keep your Drupal 8 site synced with 8.x branch

Is it practical to both A) develop/maintain a Drupal 8 alpha site and B) keep it up to date with the latest daily/hourly commits from the 8.x branch ? If so, what would be your strategy to keep your ...
0
votes
1answer
183 views

What is the Aegir make_working_copy SCM option mean?

If one creates a platform and chooses to preserve the working copy, does this initiate a .git clone that the aegir user from CLI, could update and merge branches to? Create a new platform: ...
5
votes
3answers
917 views

How do you include a Dev module in a make file?

I am using Drush make files to automate my site development. I have followed this tutorial to create a Make File via Drush. Everything works fine, except when I run the make file, Drush says it ...
2
votes
2answers
105 views

How to import git commit from development to testing in Aegir

So, I have established Aegir to take care of my sites workflow. Now I made changes to my development site, used git to load the commit to development site. How do I import the latest commits to ...
0
votes
1answer
154 views

Update Drupal core via Pantheon

I push all my local changes to the Pantheon git repository, then I update core via the pantheon dashboard. Now I pull from the Pantheon repository with "git pull ...
1
vote
1answer
50 views

Is there a recognized practice for keeping security details in files excluded from version control?

As settings.php also contains the database connection details and the site key among others, it is excluded from version control in .gitignore. But there some modules, APC for instance that require ...
0
votes
1answer
66 views

Smart way to compare drupal instance files with official release to search for modified files

I was asked to update (just install new core and modules versions) a Drupal site that uses roughly 100 (yes: hundred) contributed modules. I suspect that some of these modules might have been ...
7
votes
5answers
5k views

Is Git now the only way to install Drush?

Going in circles trying to figure out the right way to install Drush on a Linux CentOS system. I have Git set up, but as I'm not planning to contribute to Drush code at the moment, it's not ...
0
votes
1answer
144 views

Git showing every changed file not folders [closed]

Git is showing every change in every installed module folder. This makes it unusable because I can't see what I'm committing. Previously git only showed the module folders. So if i installed Views, ...
0
votes
1answer
146 views

drush make on local gitweb raw url

I moved a git repo from github to local gitweb and want to access the raw build make file ...
0
votes
1answer
35 views

Writing a patch on a sandbox/dev install using a git branch

I'm working with a Sandbox/Dev hosted VM with Drupal 7 and Commons 3. I want to write and perhaps contribute a patch. Having the site under local version control with git, I create a new branch write ...
0
votes
1answer
77 views

How to add user upload files to git when the node is pulished?

my requirements is: some users are adding application file drupal system adding node. initially that node is in unpublished state. Once the admin is publishing the node that uploaded file need to be ...
2
votes
1answer
916 views

In Drupal 7, how do you git clone a module project quickly?

There doesnt seem to be any good documentation on a quick way to git clone a module project. I have already read this: https://drupal.org/project/examples/git-instructions The following format does ...
1
vote
1answer
79 views

How exactly do I package latest dev snapshot of Commons locally?

I am trying to build up-to-date instance of Drupal Commons 7.x-3.x-dev. Release notes say to use command: "drush make build-commons-dev.make". I am totally new to drush and am trying to follow that ...
6
votes
9answers
1k views

How to handle enabling new modules with Drush via makefile

At work we are moving to getting our new sites set up in git and doing local development. So far I've created a drush make file along with an installation profile, and I have this scripted via puppet ...
2
votes
1answer
180 views

Usernames in git commit messages on Drupal.org

I recently changed my username on drupal.org, and as a result is now different from my git username. When you attribute a patch someone else using the commit author, you use the anonymous email ...
1
vote
1answer
581 views

Understanding database structure for auto-migration

I am trying to come up with a good way to get this handed down Drupal project to work as smooth as possible. Ideally, my goal is to do changes local, and when that looks okay, I should be able to git ...