Today I ran into an issue with git and case sensitivity on Macs. Although Macs preserve case, their filesystems is case insensitive.
Category: Development
I did not realize the power of git reset
. If you need to do a git reset
on your working copy and you have modified (tracked, but uncommitted) changes, then git reset
will blow away all your changes without warning.
There are three essential tools I use in order to develop Drupal sites: Acquia Dev Desktop, NetBeans IDE, and Xdebug. Xdebug is a great tool to step through your code in order to troubleshoot a bug, however, it comes disabled by default on Acquia Dev Desktop. The following are instructions to enable Xdebug on Acquia Dev Desktop (ADD).
Drupal DSpace Module Launched
Today I launched my new Drupal DSpace project. There are two modules included in this project, the DSpace module and the DSpace Biblio module.
DSpace Module:
The purpose of the DSpace module is to parse a DSpace REST XML feed using the Feeds module and map the feed items into nodes.
DSpace Biblio Module:
The DSpace Biblio module maps DSpace metadata fields with Biblio fields.
More information can be found here:
http://drupal.org/project/dspace

Recently I’ve been working on a Drupal project at work and a fellow co-worker wanted to piggy-back resources on a similar project. He sent me over the code for a custom module I was going to use on the project.
Only after committing and pushing the folder from my local git repo to the origin server did I notice the remnants of my co-workers .git folder. This cause git to treat the subfolder as a git submodule and ignore the contents of the subfolder as I push my project to the origin server.
Here is what you need to do in order to remove the submodule and add as a subfolder:
git rm --cached subfolder git add subfolder git commit -m "Enter message here" git push
Now the origin should be able to see the contents of the subfolder.