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

Add ability to fork and edit files from external URL #460

Closed
stiemannkj1 opened this issue Sep 3, 2015 · 2 comments

Comments

Projects
None yet
2 participants
@stiemannkj1
Copy link

commented Sep 3, 2015

Github has a wonderful feature to fork a repo via a URL:

https://github.com/user/repo/fork

I would like to request that adding a path to a file to the end of the URL would cause the user to navigate to that file in edit mode in their newly forked repo:

https://github.com/user/repo/fork/path/to/edit/file

It would work similarly to the way that the edit button works inside Github.

screen shot 2015-09-02 at 9 09 00 am

Related StackOverflow question in case this feature already exists.

@cirosantilli

This comment has been minimized.

Copy link
Collaborator

commented Sep 3, 2015

I don't understand: why not just give the link for the edit button, e.g.: https://github.com/gitlabhq/gitlabhq/edit/master/VERSION

If the user commits, that already generates the fork if not yet forked.

Can you explain the exact use case?

@stiemannkj1

This comment has been minimized.

Copy link
Author

commented Sep 3, 2015

@cirosantilli, that does exactly what I want. Thanks!

@stiemannkj1 stiemannkj1 closed this Sep 3, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.