Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh fork Enhancements #221

Open
rdegges opened this issue Jul 8, 2014 · 4 comments
Open

gh fork Enhancements #221

rdegges opened this issue Jul 8, 2014 · 4 comments

Comments

@rdegges
Copy link

rdegges commented Jul 8, 2014

It'd be really nice to be able to use fork as follows:

$ gh fork rdegges/someproject

And have the fork command not only initialize a Github fork, but also clone the forked repo down locally, and setup the upstream remote automatically.

Thoughts?

@owenthereal
Copy link
Owner

The tricky part is fork is done asynchronously. Are we going to hang the command if the repo is not ready to clone?

A more command workflow is you clone the repo you want to fork and run gh fork which adds the forked repo as remote.

@rdegges
Copy link
Author

rdegges commented Oct 15, 2014

hmm, I understand it's async, but as a user I'd sort of expect the behavior described above -- adding a remove makes sense -- but why not sleep for a few seconds and poll? Would make for a way better developer experience, IMO.

Feel free to ignore, btw! Huge fan of this project. Just thought it'd be a nice touch ^^

@owenthereal
Copy link
Owner

but why not sleep for a few seconds and poll

This is doable and I'd love to make it happen. I do care about developer experience 😸. And thanks for the support of the project.

Note that moving forward gh will be known as hub 2.0 and future changes will be in that repo. I'll keep this issue as a reference in the future.

@rdegges
Copy link
Author

rdegges commented Oct 15, 2014

Awesome! ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants