Adds an "Open with Sourcetree" button to the GitHub "Code" dropdown menu, allowing you to clone repositories directly into the Sourcetree application.
יש גרסאות של סקריפט זה עם קוד מעודכן. הצג את כל הגרסאות
fix: improve clone URL detection logicThe 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.