GitHub 使用 Sourcetree 克隆

在 GitHub 的“Code”下拉菜单中添加一个“Open with Sourcetree”按钮,允许您直接将仓库克隆到 Sourcetree 应用程序中。

这些是此脚本变更过代码的版本。 显示所有版本。

  • v1.4 2025-07-10 Imported from URL
  • v1.4 2025-07-10

    fix: improve clone URL detection logic

    The script now intelligently finds the best available clone URL.

    - It prioritizes the HTTPS URL.
    - If HTTPS is not available, it falls back to the SSH URL.
    - The GH CLI format is ignored as it's not a direct URL.

    This makes the script more robust and reliable, ensuring it works even if the user has selected a non-default clone method.

  • v1.3 2025-07-10

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址