It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can I link in a repository's wiki to a page in the source of the latest commit?

How can I link in a repository's wiki to a page in the source of the latest commit of a branch without having to update the link every time there is a new commit?

I'm not uploading commits from local every time right now because it's easier to just drag the new .dll's into dropbox where the link is static as long as the filename stays the same. Is there a static path to the latest commit page of the source for a repository?

1 answer

1 accepted

Not really I already know how to create wiki pages and add links. The problem I have is that every time I do a commit the link to the page in the list of source files for a repository changes with a new long hashcode in the middle of it. So on a project where I do 100-200 changes a day it's impractical to have a link to a page in the sourcecode at all at the moment because it would kill my productivity to update it after every commit. I didn't know if there was something equivalent to "hxxxxxxxbitbucket.org/myteam/myrepository/src/%latestcommit%/foo/bin/release/?at=development

As mentioned on that page:

By default, if you do not specify the revision, the link will point to 'tip'.

which is exactly what you want.

ALMOST :) The file is in another repository. Oh DERP! Thanks for your help! just realized I can put the download page in the wiki for that repository and link to he page. *facepalm*

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Teamwork

The Confluence blog has a brand-new look AND brand-new content!

Hey Community,  Last year, the Confluence team shipped "Team Central," a hub of articles and templates on topics like project planning, knowledge sharing, and more.  We're thrilled to...

25 views 0 2
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you