GitHub Clone with Sourcetree

Adds an "Open with Sourcetree" button to the GitHub "Code" dropdown menu, allowing you to clone repositories directly into the Sourcetree application.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

ستحتاج إلى تثبيت إضافة مثل Stylus لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتتمكن من تثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

(لدي بالفعل مثبت أنماط للمستخدم، دعني أقم بتثبيته!)

المؤلف
cooaer
التثبيت اليومي
0
إجمالي التثبيت
4
التقييمات
0 0 0
الإصدار
2.0
تم إنشاؤه
10-07-2025
تم تحديثه
05-03-2026
الحجم
8.47 KB
الترخيص
MIT
ينطبق على

GitHub Clone with Sourcetree

This script adds an "Open with Sourcetree" button to the GitHub "Code" dropdown menu, allowing you to clone repositories directly into the Sourcetree application.

Screenshot of the "Open with Sourcetree" button

Features:

  • Adds a convenient button to the clone dialog.
  • Uses the official Sourcetree app icon, which adapts to GitHub's light and dark themes.
  • Automatically detects the repository's HTTPS clone URL.

Installation

  1. Make sure you have a user script manager installed, such as Tampermonkey or Greasemonkey.
  2. Navigate to the script file in this repository: github-clone-sourcetree.user.js.
  3. Click the link, and your user script manager will automatically open and prompt you to install the script.

Usage

  1. Go to any GitHub repository page.
  2. Click the green "Code" button.
  3. You will see the new "Open with Sourcetree" button in the dropdown list.
  4. Clicking it will launch the Sourcetree application and open the clone dialog for that repository.