返回首頁 

Greasy Fork is available in English.

Bitbucket: copy commit reference

Adds a "Copy commit reference" link to every commit page on Bitbucket Cloud and Bitbucket Server.


ติดตั้งสคริปต์นี้?
สคริปต์ที่แนะนำของผู้เขียน

คุณอาจชื่นชอบ Jira copy summary


ติดตั้งสคริปต์นี้
ผู้เขียน
andrybak
จำนวนติดตั้งประจำวัน
0
จำนวนติดตั้งทั้งหมด
16
คะแนน
000
เวอร์ชัน
16
สร้างเมื่อ
12-07-2023
อัปเดตเมื่อ
10-12-2024
Size
18.2 กิโลไบต์
สัญญาอนุญาต
AGPL-3.0-only
ปรับใช้กับ

Bitbucket: copy commit reference

Adds "Copy commit reference" link to every commit page. Commit reference is acommonly used format to refer to past commits. It looks likethis:

1f0fc1d (pretty: implement 'reference' format, 2019-11-20)

The copied reference supports plain text and rich text editors, with clickablelinks to the commit, Jira issues, and Bitbucket pull requests.

This script supports both Bitbucket Server and Bitbucket Cloud.

Instructions

The script uses @include rules to work on any domain that includes the word bitbucket. If your browser doesn't support @include (which might happen in the future when Chrome switches to Manifest V3 browser extensions) or your Bitbucket Server uses a domain which doesn't include the word bitbucket, you'll have to manually add your domain. Up-to-date instructions are at https://github.com/rybak/atlassian-tweaks#custom-domains

Source code

Source code and full history can be seen on GitHub: https://github.com/rybak/atlassian-tweaks/blob/main/bitbucket-copy-commit-reference.user.js

See also