Commit changes immediately to git using Rust

Submitted by clemens on Wed, 2020年12月09日 - 12:43pm

Having a trail of your coding flow can be handy or will explain the longing question about 'what was i thinking' when resolving problems of https://adventofcode.com/

Warning: this script needs Rust (unfortunately) installed

Working on a Drupal module using composer

Submitted by clemens on Sat, 2019年05月18日 - 11:10am

Altering Drupals composer.json to fetch a particular Drupal module git checkout.

Create an empty pristine branch in your git repo

Submitted by clemens on Fri, 2015年01月23日 - 1:35pm

In need for a new empty branch for restarting an idea I need a empty branch

git checkout --orphan NEWBRANCH
git rm -rf .

don't do the commands in reverse order. don't forget the rm -rf command either.

Resource

http://bitflop.com/tutorials/how-to-create-a-new-and-empty-branch-in-git.html

A Drupal 8 git bisect exercise

Submitted by clemens on Wed, 2013年06月12日 - 10:38am
Having a Drupal 8 site under development with a customer aware of the risk of loosing data I took the risk of fixing a broken Drupal 8 site. Today I did an code update and got the following welcome screen on http://drupal.dev
If you have just changed code (for example deployed a new module or moved an existing one) read http://drupal.org/documentation/rebuild
Additional uncaught exception thrown while handling exception.
Original

Do we need git squash and thus forced pushes?

Submitted by clemens on Fri, 2013年04月19日 - 9:20am

As a followup on A pinch of Symfony for D8MI? why do we need to squash?

After some more squash and push -f attempts regarding pull request for Symfony I get the hang of it.

But chx said in squash is bad as we loose history on the development process.

So how should we do this on d.o when git phase 3 lands? Those discussion seems to got to a halt.

Git issue branch ... the sandbox route

Submitted by clemens on Wed, 2011年04月13日 - 10:40am

I'm working on a patch to implement issue triage for Dreditor

But for ease of use and teasing in testers git issue branches would be great which are underways.

So in the mean time I use a sandbox for this. But how to get dreditor code into my repo?

  1. First create a sandbox on d.o. This gives to access to a new git repo.
  2. Ignore the initial git instructions
  3. Clone dreditor according the git instructions

    git clone http://git.drupal.org/project/dreditor.git

AltStyle によって変換されたページ (->オリジナル) /