How to Set Commit Author

I’ve worn dozens of hats on a dozen totally different groups throughout my time at Mozilla, however none has been as rewarding and difficult as neighborhood administration. Whether it is mentoring college students, welcoming new contributors, or reviewing pull requests, there’s at all times a lot to be carried out. There’s additionally the uncommon event the place I have to submit a patch for a contributor.

Since I work with each git and mercurial (hg), I’ve wanted to discover ways to set commit creator in every model management system.

To set the commit creator with git, you’d execute:

git commit –author=”User Name ” -m “The commit message”

To set the commit creator with mercurial, you’d execute:

hg commit -u “User Name ” -m “The commit message”

Giving neighborhood members credit score for his or her patches is the last word signal of respect, so within the case you want to translate these patches for a contributor, these snippets are gold. Help them enable you to!

CSS vs. JS Animation: Which is Faster?

CSS vs. JS Animation: Which is Faster?

How is it potential that JavaScript-based animation has secretly at all times been as quick — or sooner — than CSS transitions? And, how is it potential that Adobe and Google constantly launch media-rich cell websites that rival the efficiency of native apps?

This article serves as a point-by-point…

dat.gui:  Exceptional JavaScript Interface Controller

dat.gui: Exceptional JavaScript Interface Controller

We all love trusted JavaScript frameworks like MooTools, jQuery, and Dojo, however there is a large push towards utilizing targeted micro-frameworks for smaller functions. Of course, there are positives and negatives to utilizing them.  Positives embody smaller JS footprint (particularly good for cell) and fewer cruft, negatives…

Animated AJAX Record Deletion Using MooTools

Animated AJAX Record Deletion Using MooTools

I am an enormous fan of WordPress’ technique of particular person article deletion. You click on the delete hyperlink, the menu merchandise animates purple, and the merchandise disappears. Here’s the way to obtain that performance with MooTools JavaScript.

The PHP – Content & Header

The following snippet goes on the…