git

Git aliases for creating development branch patches

Now that everyone should be getting comfortable with Git (even me, one of the crazy people that actually liked CVS), we're all finding little tricks and tips on our workflow. I wanted to share some Git aliases I figured out today with everyone, and I'd encourage you to share your own as well!

When working on core issues, I have only one core checkout per major Drupal version. For Drupal 8, that directory is ~/Sites/drupal8dev. When working on an issue, I create a local development branch with the name issuenumber-description-of-issue. For example, for http://drupal.org/node/1174630, I ran git checkout -b 1174630-html5-url-element to create my local issue branch. Read more

Syndicate content