Skip to content

andrewmmc/sourcetree-custom-actions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Andrew Mok's SourceTree custom actions

This is a collection of shell scripts for SourceTree custom actions. It extends the SourceTree functionalities without keep typing git commands in CLI.

Get started

  1. Clone the repo, and run
chmod -R 0755 .
  1. Open SourceTree, go to Preferences > Custom Actions. You can add, edit or remove custom actions.

Functionality

fetch-tags-(origin/upstream).sh

Fetch tags from origin/upstream.

force-push-(origin/upstream).sh

Force push current branch to origin/upstream.

IMPORTANT: Remote branch will be replaced.

move-(origin/upstream)-(dev/test/sandbox/staging/canary/prod/release).sh

Move dev/test/sandbox/staging/canary/prod/release tag to current commit, and push it to origin/upstream.

Parameters: $SHA

undo-(origin/upstream).sh

Undo commit pushed to origin/upstream.

IMPORTANT: All changes will be lost.

Author

License

Support

About

🖥️ SourceTree Custom Actions

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages