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

Commit remote URL #1118

Open
aromero86 opened this issue Jul 28, 2018 · 3 comments
Open

Commit remote URL #1118

aromero86 opened this issue Jul 28, 2018 · 3 comments

Comments

@aromero86
Copy link

Hi guys, ungit is beautifull. I'have a question:

  • Can I copy/open the commit url in remote repository? Thank you
@jung-kim
Copy link
Collaborator

Ah... I'm not sure what you mean? Can you tell me by an example?

@aromero86
Copy link
Author

Sorry, my english is so poor.

For example, if I have my repo in github, it would be great copy url from a commit (already pushed) in UNGIT. Anohter great option would be open a browser with that URL. An example:

846b794

Thank you 😃

@ylecuyer
Copy link
Contributor

That would be doable with a new config in ungitrc.

This new config would have the format of the link with two available substitutions: %h or %H (as in git format)

When configured the link would be clickable and href(_target=blank) to this formated link.

I'll make a PR for it @jung-kim if you're ok with what I described

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

3 participants