Here is a sample project on github: http://github.com/ripper234/Test-grails-project
I would like to capture the latest revision, and send a link to it to someone, so that even if the project changes later he will see the specific revision I was talking about. I guess forking could do that, but it's overkill.
How do I do that?
You can link to a specific line in the Markdown file the same way you can in code. Append #L with the line number or numbers at the end of the url. For example, github.com/<organization>/<repository>/blob/<branch_name>/README.md? plain=1#L14 will highlight line 14 in the plain README.md file.
To link related issues in the same repository, you can type # followed by part of the issue title and then clicking the issue that you want to link. To communicate responsibility, you can assign issues. If you find yourself frequently typing the same comment, you can use saved replies.
To reference a commit, simply write its SHA-hash, and it'll automatically get turned into a link.
Just press y
and the URL will change automatically to reflect the current version.
Source
To access a single file or directory:
let's say you would like that the someone you send this link
has to work on the resulting code of this commit.
he would do this:
now the user has a branch with the code of the mentioned commit.
does this answer your question? -> not sure if I understood it right...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With