A Krita plugin for viewing Krita files in other git revisions.
- You can open your file in the previous commit.
- You can commit the file you are editing without opening your terminal.
You need GitPython
.
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 for the location of the Krita resource folder.
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 (written in Japanese).
Any commits made by this plugin are not GPG-signed.
All files are licensed under GNU General Public License v3.0. See LICENSE.