https://github.com/kiprasmel/git-backup
git-backup — like git stash, but remotely
https://github.com/kiprasmel/git-backup
backup case changes fire git git-backup in of uncommited
Last synced: 2 months ago
JSON representation
git-backup — like git stash, but remotely
- Host: GitHub
- URL: https://github.com/kiprasmel/git-backup
- Owner: kiprasmel
- License: gpl-2.0
- Created: 2019-08-20T20:27:48.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-28T20:20:09.000Z (about 5 years ago)
- Last Synced: 2025-01-15T19:54:25.884Z (4 months ago)
- Topics: backup, case, changes, fire, git, git-backup, in, of, uncommited
- Language: Shell
- Homepage:
- Size: 65.4 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# git-backup
In case of fire, use `git-backup` 🔥
> `git-backup` is literally like `git stash`, but **it makes stashes available** on the **remote** for later use!
## Installing
* [Arch Linux](https://aur.archlinux.org/packages/git-backup-git/):
```sh
yay -S git-backup-git
```* From source:
```sh
git clone https://github.com/sarpik/git-backup.git
# or: git clone [email protected]:sarpik/git-backup.gitcd git-backup
make install
```## Usage
```sh
cd some-git-repo/
git-backup
```and later, if you want to apply the backup:
```sh
cd some-git-repo/
git stash apply
```For ease of use, you could create a git alias for `git-backup`:
```sh
git config --global alias.backup "!git-backup"
``````sh
git config --global alias.bp "!git-backup" # extra quick backups 💦💦
```and then use it by just running `git backup`.
## Manual
See **git-backup**(1) (`man git-backup` or `git-backup -m`).
## License
[GPL-2.0](./LICENSE) - same as [git](https://github.com/git/git/blob/master/COPYING)