https://github.com/toku-sa-n/krita-git-docker
A Krita plugin for viewing Krita files in other git revisions.
https://github.com/toku-sa-n/krita-git-docker
git krita
Last synced: about 2 months ago
JSON representation
A Krita plugin for viewing Krita files in other git revisions.
- Host: GitHub
- URL: https://github.com/toku-sa-n/krita-git-docker
- Owner: toku-sa-n
- License: gpl-3.0
- Created: 2022-03-29T02:08:05.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-20T03:07:25.000Z (about 4 years ago)
- Last Synced: 2025-04-05T11:44:41.203Z (over 1 year ago)
- Topics: git, krita
- Language: Python
- Homepage:
- Size: 221 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Krita-git-docker
A Krita plugin for viewing Krita files in other git revisions.
## Screenshot

## Features
* You can open your file in the previous commit.
* You can commit the file you are editing without opening your terminal.
## Installation
You need `GitPython`.
```sh
pip install --user GitPython
```
Clone this project and copy `gitdocker.desktop` and the `gitdocker/` directory into to the `pykrita` directory in your Krita resource folder. See [the documentation](https://docs.krita.org/en/reference_manual/resource_management.html#resource-management) for the location of the Krita resource folder.
## Usage
Open an image with Krita. If the file is untracked, the docker will say, "Git repository not found."
The docker will show the thumbnail if the file is tracked, and the combo box lists the newest ten commits' summaries. Click the "open" button to open the revision.
After modifying the image, write the commit message in the textbox and push the "Commit" button. Note that this will commit all staged files, not only the image.
See [my blog article](https://tokuchan3515.hatenablog.com/entry/2022/04/03/162752) (written in Japanese).
## Limitation
Any commits made by this plugin are not GPG-signed.
## License
All files are licensed under GNU General Public License v3.0. See [LICENSE](https://github.com/toku-sa-n/Krita-git-docker/blob/main/LICENSE).