DEV Community

Jerry Satpathy
Jerry Satpathy

Posted on

Make Your Commits Great Again with Trump Commit

If you're a developer, you know the struggle of coming up with good commit messages for your code changes. But what if there was an easier way to make your commits great again? Enter Trump Commit, a global npm module that lets you commit code with a Trump-style message.

Make your codebase great again

How It Works

Using Trump Commit is easy. Simply install the package globally using npm:

npm install -g trump-commit
Enter fullscreen mode Exit fullscreen mode

Then, navigate to the directory containing the code you want to commit and run the following command:

trump-commit
Enter fullscreen mode Exit fullscreen mode

This will generate a random message from a list of over 100 predefined messages and commit your code with that message.

If you want to specify a custom message, you can use the -m or --message option:

trump-commit -m "Make code great again!" 
Enter fullscreen mode Exit fullscreen mode

That's it! Trump Commit will add and commit all of your code changes with the greatest message possible.

Why Use Trump Commit?

Not only does Trump Commit make it easy to come up with a commit message, it also injects some fun and humor into the often tedious task of committing code. Plus, with a list of over 100 predefined messages, you're sure to find a message that perfectly captures the essence of your code changes.

Conclusion

If you're tired of struggling to come up with good commit messages, give Trump Commit a try. It's easy to install and use, and will make your commits great again. Plus, with its Trump-style messages, you'll never be bored while committing code again.

Check out my latest Medium article to learn more about Trump Commit and how to use it.

Hire Me

I am a software developer with experience in full stack web and app development and a passion for creating tools that make development easier. If you're interested in hiring me for your next project or just want to chat, feel free to connect with me on LinkedIn or Twitter.

Follow Me

If you enjoy my work, you can follow me on Medium for more articles and tutorials.

Thank you for using Trump Commit. Your codebase is tremendous.

Top comments (0)