1

I began a Wiki for a sourceforge project. In the home page I've put some links to code samples in the git tree. I commit often then the links becomes obsolete.

How can I put http links to latest on master branch?

Here is an example of link: https://sourceforge.net/p/jdcf/code/ci/414b9c83de3a5a9f34303c4bb888b715ff6bbecb/tree/src-demo_01/org/dcf/demo/consumer/Component.java

/414b9c83de3a5a9f34303c4bb888b715ff6bbecb/ is the version I suppose, I wish to replace it by LATEST. How do I?

Aubin
  • 14,617
  • 9
  • 61
  • 84

1 Answers1

1

Using HEAD seems to work:

http://sourceforge.net/p/jdcf/code/ci/HEAD/tree/src-demo_01/org/dcf/demo/consumer/Component.java

This link should give the latest file without breaking.

simont
  • 68,704
  • 18
  • 117
  • 136