Coder Social home page Coder Social logo

sourcetree-custom-actions's Introduction

SourceTree custom actions

Useful SourceTree custom actions bash scripts. It can enable you to:

  • Open current repo in Sublime Text
  • Open current repo in VS Code
  • Open Select commit in Browser(Support github/gitlab)
  • Copy current Repo Url to Clipboard
  • Open XCode project in XCode
  • Stash untracked files by running git stash --include-untracked, you should stage your changes before running this action.
  • Reset any local changes by running git reset --hard HEAD

Tested on Mac, but should work on Linux and Windows(Win10 with SubLinux) too(you may need to alter application path in the scripts)

how to install

  1. download this repo
  2. unzip and copy scripts to some untouched folder, like SourceTree's application data directory ~/Library/Application Support/SourceTree/
  3. open SourceTree Go to Preferences -> Custom Actions -> Add and fill custom action with parameters as shown in the figure(add a shortcut if you wish): SourceTree

Tips

If you are using Mac, when browser a repo with SourceTree, you may press โŒ˜ + shift + / and type the menu item name then press enter to call that menu

You may need to add execution permission via chmod +x *.sh when an error permission denied shown up.

Alfred Workflow

If you are using alfred on macOS, you may try sourcetree-alfred-workflow also created by me

sourcetree-custom-actions's People

Contributors

oe avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.