501st-alpha1 / git-rstash

Transfer your Git stashes to and from remotes with ease!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

git-rstash

Transfer your Git stashes to and from remotes with ease!

Usage

Place or link git-rstash somewhere on your PATH, then:

usage: git rstash push <stash> [<remote>]'
   or: git rstash fetch [<remote>]'
   or: git rstash drop <stash> [<remote>]'
   or: git rstash import <SHA>'
   or: git rstash push-all [<remote>]'
   or: git rstash import-all'

where <stash> is a stash number, <SHA> is a (short or long) SHA commit hash, and [<remote>] is an (optional) remote to operate on.

By default, git-rstash uses origin as the remote. Stashes are saved both remotely and locally to refs/stashes/<SHA>.

See my Stack Overflow answer for more details.

About

Transfer your Git stashes to and from remotes with ease!

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%