Don't forget your stashed code anymore!
- Create a new basic app on Slack admin and setup the team you want it to be integrated into
- In
Features >> OAuth & Permissions
, add new scopes under thePermissions Scopes
section:- chat:write:bot
- reminders:write
- users:read
- Once it's done,
Save Changes
and click on the banner to reinstall the app - When page has reloaded, copy the OAuth Access Token under the
Token for Your Team
section
- Clone this repository in your
$GOLANG
path - Edit the
conf.json.example
file to add your Slack username and the OAuth Access Token Previously copied and rename it toconf.json
- Run
make init; make build ; go install
- Optional For an ease-of-use, run
sudo ln -s $GOPATH/bin/Stasher /usr/bin/Stasher
- Simply run
stasher
instead ofgit stash
in your git repository - For detailed use, run
stasher --help
- Distribute
Stasher
Slack app on the Slack App Directory - Auto-install using
go get -u