Nigeria No1. Music site And Complete Entertainment portal for Music Promotion WhatsApp:- +2349077287056
Thursday, 30 March 2023
Show HN: Gut – An easy-to-use CLI for Git https://bit.ly/3nsu6AB
Show HN: Gut – An easy-to-use CLI for Git Hi Hacker news ! I’m Julien and I built an alternative CLI for Git : gut. Even if I haven’t been coding for a long time (I’m in the first year studying computer science), I’ve always found git to be frustrating. The command naming is inconsistent and git lets you easily shoot yourself in the foot. I made gut, another git porcelain, to solve these issues. It provides a consistent naming of command. To do so, syntax is based on subcommands. For example, to delete a branch, run gut branch rm rather than git branch -d, same to delete a remote (gut remote rm) and so on. Gut also prevents you from shooting yourself. It provides nice defaults and always prompt you before doing something destructive. Also, it won’t allow you to rewrite the history if it has been pushed to the remote. Creating commits in detached head is also prohibited. Finally, git was made when GitHub and others didn’t existed yet. To diff commits, gut opens the compare view in the browser. And to merge a branch, gut opens a pull request. I have been working on this project for the past few months and I am happy to be able to share it. I hope you’ll like it. Any suggestions is welcome ! https://bit.ly/3KjktNx March 30, 2023 at 01:18PM
Labels:
Hacker News
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment