DEV Community

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

Posted on • Edited on

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.

Top comments (0)