Live data from Hacker News

Hub Git Wrapper

github.com

11–20 of 23 posts

Re: Hub Git Wrapper

#11
> hub is best aliased as git, so you can type `$ git ` in the shell and get all the usual hub features.

World domination feels imminent.

Re: Hub Git Wrapper

#12
post #9

Earlier quoted context omitted.

hub works just fine to create a PR, some lack of RTFM is at play.

So, I never trust users to give me advice on features to add. But I always believe them when they say something is difficult or confusing. Research should not be required to make a good CLI do what you want, provided you understand what you want.

Might like http://blog.codinghorror.com/listen-to-your-community-but-do...

Re: Hub Git Wrapper

#13
post #11

> hub is best aliased as git, so you can type `$ git ` in the shell and get all the usual hub features. World domination feels imminent.

Yes, sure smells like a case of embrace & extend.

Re: Hub Git Wrapper

#15
post #11

> hub is best aliased as git, so you can type `$ git ` in the shell and get all the usual hub features. World domination feels imminent.

I know I don’t like doing it that way. I use `git` (actually, I have `alias g=git`, so I actually write `g`) directly for most things, only pulling out `hub` for GitHub-specific things.

Re: Hub Git Wrapper

#16
post #2

I once tried to PR from hub. It sent the PR from my branch on my fork to master on my fork. Obviously I wished to PR against the original thing I forked from. I just stick to the web interface now.

It sure would be nice to have `--dry-run --verbose` to see exactly what it's going to do.

Re: Hub Git Wrapper

#17
I'm quite fond of of Ingy's git-hub command, https://github.com/ingydotnet/git-hub, which also gives you most of Hub's features, along with much, much more. E.g., the the ability to manage things like a repo's collaborators, issues, etc. from the command line. And it's a normal git extension command, so you run it as `git hub clone foo/bar` or `git hub issue-new` or `git hub pr-list` which feels like a better point of integration.

Edit: And per some concerns elsewhere in the comments, there's also a --dryrun parameter to ensure that it's going to do what you want it to do. ;)

Re: Hub Git Wrapper

#19
post #11

> hub is best aliased as git, so you can type `$ git ` in the shell and get all the usual hub features. World domination feels imminent.

I can see Linus Torvalds doing a table flip over this part. (╯°□°)╯︵ ┻━┻

Re: Hub Git Wrapper

#20
I ran across this repo yesterday while searching for an explanation of github releases (not a very searchable term...).

The release notes for version 2.2.0 mention their [cucumber specs](https://github.com/github/hub/tree/master/features), which look like a good example of using BDD in a full project.

And then I wandered off and got distracted by a UTF-8 problem in the Hebrew localization of Test::BDD::Cucumber.

Post reply on HN