Git is a distributed version control system focused on speed, and real-world usability on large projects.
3
votes
1answer
35 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
41 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 ...
1
vote
0answers
32 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
76 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
108 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
90 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
54 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
32 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 ...
7
votes
1answer
166 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
55 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
113 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
85 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
64 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, ...
1
vote
0answers
59 views
How to retroactively fix commit author in git on drupal.org?
I forgot to set my git username and email for my projects on drupal.org, so my commits were not assigned to my drupal.org username by git.
I read here that it is possible to fix this retroactively ...
3
votes
2answers
217 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
140 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
87 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
111 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, ...
2
votes
1answer
103 views
Server side Drupal install as git local repo
I have a Drupal install on a shared server and would like to do some version control on it, namely git.
I'm a beginner at Drupal and only just starting with git so I've become a bit overwhelmed with ...
7
votes
2answers
477 views
What is the best practice to upgrade drupal core without breaking the GIT repo and the production website
I've got a Git repository in which all my code is in the master branch, and I was previously just ignoring all the Drupal files, so that I kept a strict separation between code that I wrote (or ...
2
votes
2answers
540 views
Update module with Drush + commit with Git
What's the best way to update a module and commit with git?
Currently I'd use drush pm-updatecode then inspect with git status. The problem then is there are many files that have changed, been added ...
0
votes
2answers
81 views
how to create a branch in git
created a sandbox project and created a 6.x-1.x. http://drupalcode.org/sandbox/serjas/1713192.git
now ported module to 7, but dont know how to create a branch
followed instruction here ...
0
votes
1answer
122 views
Updating custom modules
I have a module I wrote that is used on a production site. I had to make some changes and need to update the module.
Where do I begin to learn to do this?
0
votes
1answer
241 views
Using git over ssh from localhost to my Shared Hosting
I managed to install smoothly git and drush on my Shared Hosting. Cool.
Now I created there a git repository:
$cd public_html/drupal
$drush dl drupal
$git init
$git add .
$git commit -a -m "My ...
1
vote
1answer
235 views
Set up a Git version control repository that integrates with OpenAtrium
Is it possible to have OpenAtrium function like the git repository on Drupal.org?
If so, then how can I do it?
-1
votes
1answer
92 views
How do I remove the commits in git? [closed]
I am using git to track my commits in a Drupal 7 site. I was involved in a project which uses git to move between production and development server. I made some changes in features and pushed it to ...
12
votes
5answers
340 views
Manage custom modules across multiple installations
We have some custom modules which are used for multiple sites. Those can't be released as contributed modules, for example because they are client specific, make assumptions that don't work for ...
3
votes
1answer
50 views
What is the “right” way to track a custom patch to a contributed module?
I need to apply this patch to my site:
http://drupal.org/node/483176#comment-5939648
What is the "right" or "responsible" way to track this change? We use Git for version control.
3
votes
4answers
970 views
How do I git pull a dev branch?
I'm trying to switch to the dev version of Views. Repository instructions worked and I was able to git clone Views.
However, listing the available branches with git branch -a only shows * 7.x-3.x
.
...
1
vote
1answer
129 views
Accessing and updating files on the Acquia Network
We have recently begun working again on a Drupal site that we had originally developed several years ago. At the time, it was hosted in a fairly traditional environment, with most of the development ...
6
votes
4answers
673 views
(dis)advantages of staging dev->production using 'drush rsync' vs 'git'?
I set up a Drupal site under git control for development work.
It's parented in a master, bare GIT repo, and as changes are made in my various project-work git clones, and pushed back to the master, ...
6
votes
2answers
636 views
What are costs/benefits of integrating Phing, Jenkins together with Drupal?
I would like to improve my testing environment automation in order to reduce effort needed for quality assurance tasks.
I heard about Phing and Jenkins and read overview information but still I am ...
1
vote
1answer
291 views
What's the advantage of using Git submodules for Drupal core and contrib?
I've seen a number of questions/blog posts about setting up a Git repository with Drupal Core and Contrib Modules as submodules, such as Setting up the ideal multiple repository Drupal Site version ...
2
votes
0answers
228 views
Git merge made by recursive ? Why I cannot fetch the updated contrib module?
I am using git repositories to keep Drupal core and contrib modules in sync.
The set up looks like this:
[drupal.org git repository] -> [my-contrib repository] >> [my-dev-site repository]
Recently ...
0
votes
1answer
175 views
What is the proper RewriteBase setting for my staged server?
I'm having issues with Clean-URLs not working on my staged server, possibly stemming from the fact that the installation is pulled down from a Git repo, for staging.
I suppose the .htaccess file is ...
2
votes
2answers
146 views
HTML in custom blocks: git and editor integration?
Thoughts on getting the HTML code of a custom block under the control of an IDE?
I'm talking about the regular "Add block" feature where you're normally supposed to write the HTML in the ...
4
votes
2answers
778 views
How do I use “drush make” modules with a local module code?
I got to love the workflow "drush make" gives us. I am sure there are others who would want their development code to be put into a make file with it not being ready for drupal.org, for example, ...
-1
votes
1answer
1k views
Why does Git in Cygwin complain about info/refs not being found?
I am learning to use git with Drupal. I'm using Cywgin (Windows-based Linux command line), and trying to follow Practicing patches. The documentation tells me to use the command:
git clone --branch ...
0
votes
1answer
234 views
Updating Drupal modules via git on remote server
Here is my Drupal workflow for updating modules.
I update modules on my local dev and test.
Run update via drush if needed.
Commit and push to github.
Pull these new updates from Github on remote ...
0
votes
1answer
149 views
Drush package handler - recommendations?
After a day of cursing drush for refusing to update anything, I finally discovered that using --package-handler=wget instead of =git_drupalorg allowed everything to run smoothly. I suspect there were ...
5
votes
2answers
683 views
How do I set up default.settings.php to use it for development, testing and production sites?
I use dev, tst and prd environments for my Drupal 7 site set up.
I use git for version control.
I would like to eliminate one manual step I need to do when moving site from dev to tst and from tst ...
0
votes
1answer
145 views
How to keep in sync git repository and related htdocs directory?
I use the following set up for my @dev site:
(a) ../git/repository/dev
where I keep version control using git,
and a separate
(b) ../htdocs/dev
that I have an almost exact copy of git repositor ...
0
votes
1answer
113 views
How to import and merge existing site from svn to git?
I'm working with a site that has been using Subversion for version control and we'd like to swtich to using git instead. It seems like it would make the most sense to clone the Drupal project git ...
2
votes
1answer
78 views
Bringing modules into project as git submodules - .info file doesn't have version info
I'm adding modules into my git-enabled Drupal project as git submodules. Things seem to work fine except that when I bring in a git submodule and use the version I want, by doing a 'git checkout ...
0
votes
2answers
154 views
How to add 100 contributed modules into git repository fast?
I use a git repository, and Drush to manage Drupal projects.
What I would like to do now is to add more then 100 contributed modules to the git repository to keep track on these modules as well.
If ...
2
votes
3answers
2k views
Applying a patch doesn't work
I'm having trouble with applying a patch for a Drupal module.
I thought it was as simple as using "git apply thepatch.patch," but when I do this in the main directory that holds the .git directory, I ...
5
votes
1answer
191 views
Is there a git repository for Drupal releases only?
Having cloned drupal from the git repository using
git clone --branch 7.x http://git.drupal.org/project/drupal.git
I noticed that I'm actually running 7.9-dev when what I want to be running is the ...
1
vote
1answer
66 views
I need a solution to in-depth scan into Drupal git repositories to find useful code snippets
I'm looking to find out the best solutions to in-depth search into git repositories for code snippets: inside Drupal custom modules, revisions, contribs, themes, profiles.
As far as I know, Drupal no ...
-1
votes
2answers
67 views
How to find all Drupal modules which has dependence
I would like to know if it possible to find all contributed modules that depend, for example, on the Subform module.
This information could be useful if you are working with a module, and want to ...
2
votes
1answer
194 views
Using Git to keep Core and modules up to date
I'm looking for a way to use git to pull both core and modules. Let's say for example that I clone Drupal core from the Drupal git, and commit to my own git repo; then, I pull a bunch of modules, and ...
