Live data from Hacker News

Git-repo – Manage Gitlab, GitHub and Bitbucket from the command line

i.got.nothing.to

51–60 of 70 posts

Re: Git-repo – Manage Gitlab, GitHub and Bitbucket from the command line

#51
post #15

Earlier quoted context omitted.

One might have sudo privileges configured via /etc/sudoers (It's the default on AWS EC2 instances!)

Yes, but you still need to call "sudo poweroff", not just "poweroff".

See user chainsaw10. Anecdotally, on my vanilla Arch systems, I can run "poweroff" without being root, and without sudo, and the computers will end all processes and turn off.

Re: Git-repo – Manage Gitlab, GitHub and Bitbucket from the command line

#54
post #23

I use hub[0] to accomplish some of the same things. `hub fork` creates a fork and sets up a new remote. After pushing to my fork, `hub pull-request` creates a pull request. [0] https://github.com/github/hub

Well, I saw about hub, but I wasn't happy with the fact that it's a github only tool, I really wanted a service agnostic tool, and also because the CLI API was not great. I don't want a tool to replace git, I want it to extend it. What git-repo really offers is a tool that integrates nicely to the git CLI (as `git-something` is also available as `git something`, so git-repo acts per default as `git repo hub…`). And t…

You can just alias hub to git to solve the first problem. As far as being service agnostic, that's a fair point. I rarely use anything outside of GitHub.

Re: Git-repo – Manage Gitlab, GitHub and Bitbucket from the command line

#55
post #52

The name is slightly problematic as Google also released something with the same name: used for Android to solve the issue with multiple repositories instead of submodules. Besides that, looks interesting and I will give it a try!

Well as I said for another post I'm aware of that. As the google project is mostly used only for android and chromium, and as the canonical name of the tool really is /repo/ and not /git-repo/, there's no real name clashing.

The only issue might be my project being shadowed by google and go, but the more people will like and use the tool I baked with , the more it'll appear on their first page. So it's not really up to me, but up to you all liking it!

And finally, if someone comes with a nicer better name than what I chose (I actually did not spend more than 2.42 minutes on the name when I had to mkdir the project's directory), I might be happy to rename :)

Otherwise, I hope you'll like the tool and send me patches and <3

Re: Git-repo – Manage Gitlab, GitHub and Bitbucket from the command line

#57
post #38

Earlier quoted context omitted.

note that I did not say that git has a good UX, I said it's /rather well designed/… Maybe should I have emphazised on the /rather/, or used something stronger like /relatively/ . But anyway, designing the command line API of my own tool took me enough headaches — and I'm still not 100% satisfied — to understand how hard it is to have a consistent and great UX for something that offer as many features as git does. Tho…

I agree with you on everything, except the "easy to remember" part. Git's UI is very convoluted and inconsistent. Designing a good UI is really hard, but I see too many people fall into the "I learnt it, so it must be easy!" trap. Congratulations for making git-repo, by the way! It looks extremely useful.

Well, for the easy to remember, I might have been presomptuous O:-)
Post reply on HN