https://github.com/andrewmmc/sourcetree-custom-actions
🖥️ SourceTree Custom Actions
https://github.com/andrewmmc/sourcetree-custom-actions
git sourcetree
Last synced: 2 months ago
JSON representation
🖥️ SourceTree Custom Actions
- Host: GitHub
- URL: https://github.com/andrewmmc/sourcetree-custom-actions
- Owner: andrewmmc
- License: mit
- Created: 2017-09-28T07:12:14.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-08-16T14:25:21.000Z (almost 8 years ago)
- Last Synced: 2025-05-17T23:38:51.851Z (about 1 year ago)
- Topics: git, sourcetree
- Language: Shell
- Homepage: https://andrewmmc.com
- Size: 106 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 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
``` bash
chmod -R 0755 .
```
2. 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
- [Andrew Mok](https://andrewmmc.com) (@andrewmmc)
## License
- [Apache License 2.0](LICENSE.md)
## Support
- Give this repo a **star** if you like :)
- For any questions, please feel free to [open an issue here](../../issues) or [contact me via email](mailto:hello@andrewmmc.com).