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

learn more… | top users | synonyms

0
votes
1answer
17 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
34 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
17 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
23 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
20 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
14 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
41 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 ...
1
vote
1answer
61 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 ...
2
votes
2answers
72 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
196 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
36 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 ...
3
votes
1answer
47 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 ...
0
votes
0answers
96 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
94 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
91 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: ...
4
votes
2answers
189 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
1answer
61 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
60 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
26 views

Is it possible to put existing/shared Content type fields as Feature code each in their own individual file to simplify/avoid git merge conflicts?

We have a set of content types that share common fields - in that we re-use them in several content types. When recreating these content types as a Feature, the fields are all in one large file. This ...
1
vote
1answer
43 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
44 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 ...
6
votes
5answers
3k 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
79 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
97 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
27 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
61 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 ...
0
votes
1answer
356 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
68 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 ...
2
votes
8answers
572 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
103 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
362 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 ...
7
votes
3answers
209 views

How do I get a block and its content commited to a Git repo?

Let's say I have created a block with some Full HTML (Facebook Feed) text inside. How can I commit the block and its text content into my Git repository, so my co-workers can pull it?
3
votes
1answer
69 views

Add tags to my sandbox module

Currently i am working on a sandbox module, which is text_or_user_reference field. Now to release the module i have to create a branch of the module i.e 7.x-1.0 Since beginning of the module ...
-1
votes
2answers
356 views

clone of drupal project failing: operation timed out

I am trying to clone the drupal project locally but getting this error k10593:htdocs welcha$ git clone git://drupalcode.org/project/drupal.git fooproject Cloning into 'fooproject'... fatal: unable ...
2
votes
0answers
283 views

D7 configuration module gitignore sites/default/files/config

I'm checking out the new configuration management module for Drupal 7. It's effectively a back-port of the new configuration management that's in D8, and looks like it's going to be a great ...
5
votes
1answer
121 views

Do I need all drupal core history in my own repository

I decided to update core via git, mostly by following the approach explained here. I did this (in my local repo, dev branch): git remote add core git://drupalcode.org/project/drupal.git git fetch ...
3
votes
1answer
328 views

git post-receive hook to trigger drush rsync without prompt or with predefined answer

I have set up post-receive hook on my staging server, so whenever I push from dev server a master branch, it updates staging webroot and triggers drush rsync to update live site. #!/bin/bash ...
0
votes
1answer
240 views

Git workflow from dev to live when central repo is in local network [closed]

I use @dev - @stage - @live workflow, managed with drush rsync and drush aliases to update code, syncing db down from @live to @dev / @stage to have recent state. Recently, I am trying to implement ...
0
votes
2answers
266 views

Drush features commands + git

I have a doubt about the functionality of Drush Features commands when it works with git: Before I do a git pull, can I do drush fu example? Will this command overwrite the changes of the feature ...
1
vote
1answer
113 views

Commit doesn't show up in profile on Drupal site

I submitted my first, (and very small patch) here, by following the instructions here. It looks like the patch worked, but when I look at the Commits tab of my profile, I don't see any entries. When ...
8
votes
1answer
768 views

How do I do git clone with drush to download the HEAD version of a module?

Is there any way to clone or pull the HEAD version of a module in drupal.org git repository? For example, if I'm on Drupal 7, and the last branch of Views is 3, I would like to do: drush git-clone ...
0
votes
2answers
219 views

Could anyone suggest a Drupal database versionning tool? [duplicate]

Possible Duplicate: How do I manage collaborative development on a Drupal site? Is there any Drupal database version like GIT for versionning files ? with drush or any thing else ? I've ...
5
votes
1answer
333 views

How to download the projects within a distribution using git, not just the distribution itself?

I've set $options['package-handler'] = 'git_drupalorg'; set in my .drushrc.php file. Now when I run drush make for a distribution (in this case, the 7.x-3.x-dev release of Commons), the distribution ...
1
vote
1answer
315 views

What is the best-practice for managing Aegir sites in Git? [closed]

I know there is a million ways this could be done, I'm more looking for the "best-practice" of how this "should" be done. I have an Aegir setup with 4 different Drupal platforms. Within each platform ...
3
votes
1answer
87 views

Manage node body in git

For a new blog, I like to have the post text stored as markdown (or an other suitable format) on github. But I want to have all the nice features of drupal (comments, nodes, captcha, menu syste, ...
3
votes
2answers
337 views

How to structure git repositories for project?

I'm working on a content synchronisation module for Drupal. There is a server module, which sits on ona website and exposes content via a web service. There is a also a client module, which sits on ...
1
vote
0answers
221 views

Drush, post receive hooks and git branches/tags

I am stuck with a nagging issue in our deployment systems drush version 5.7 git version 1.7.7 Drupal 7.x We currently have a bare git repository (consisting of drush makefiles) on the production ...
2
votes
1answer
162 views

When is using --package-handler=git_drupalorg appropriate with drush?

In which situations are using drush pm-downlaod --package-handler=git_drupalorg ... appropriate? For example, if I am developing a normal site and want to version it with git, I assume it just ...
4
votes
1answer
178 views

Download entire drupal contrib repository

I would love to download (or, preferably, clone via git) the entire drupal contrib repository (6 for now, but 7 also). That way I can do cool stuff like search the repository via grep for hooks, ...