⚡ A git pro tip for design systems adoption (#69)

March 11, 2022


Happy Friday!

Are you working on a design system and wondering why colleagues are still using deprecated components?

For example, let’s say that you’re replacing a legacy button with a new one, and the legacy button is imported like this:

import { Button } from '@ds/Button'

You can use the following git command to find every commit that used the legacy button:

git log -S@ds/Button

You’ll get a list of commits that used the legacy button, which you can use to find the commits in Github and better understand why your teammates can’t upgrade to the newest version of the component.

The intent behind using this command isn’t to shame your colleagues for not using your new components! It’s to better understand use cases that the new component doesn’t support yet so that you can improve your library for its users.

Talk soon,


If you liked this post, please consider sharing it!

Want frequent design systems tips, articles, and jobs sent right to your inbox?

Sign up for the Design Systems Newsletter today!

If you're unable to sign up, please turn off your ad blocker and try again.

© Mae Capozzi's Website 2022