DEV Community

Cover image for Auto-Commiter. Controls your commits and GitHub.
A Serputov
A Serputov

Posted on • Edited on

3

Auto-Commiter. Controls your commits and GitHub.

Auto-committer.

https://github.com/aserputov/auto

This is simple, but I think exciting project idea to make auto commits into your GitHub.

How does it work?

Small story.

I use git a lot, it helps me manage projects, and I know that making small but meaningful commits is essential to you in future or for your team members.

But, it's tough to do that every small block of code changes.

There are many things you can do with Git and even more with API.

I decided to create something that would commit for me.

My problems:

How to commit only the correct code that can be built.

  • We need to check the code before committing.

Can we add a feature to check if we already have a repo there we want to commit, or should we create a new repo with the same name as a folder?

  • Yes, we can, but there will be problems with it because Github Api asks for a token to authenticate.

Currently, I'm working with Node.js and kind of made a prototype. npm commit

I will add more in progress.

Conclusion

⚠️ Computer Architecture Blog Post: Link

Links

🖇 Follow me on GitHub

🖇 Follow me on Twitter

_p.s This post was made for Telescope.

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

Rather than just generating snippets, our agents understand your entire project context, can make decisions, use tools, and carry out tasks autonomously.

Read full post

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay