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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Thursday in Off-topic

Friday Fun: Magic Eyes

...staring into the background. Once the image pops out in 3D, you can look around the picture and enjoy. If you will see if you are a true illusion master! :) You did it? :) Wow! Awesome! As a bonus...

420 views 79 11
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you