jw0k / gwatch Goto Github PK
View Code? Open in Web Editor NEWWatches a folder for file modifications and commits them to a git repository automatically
License: MIT License
Watches a folder for file modifications and commits them to a git repository automatically
License: MIT License
Would it be possible to use a shadow copy if it encounters open/locked files?
I found gwatch via this even though I tried searching GitHub first. Are you open to adding some GitHub topics to the repo? That might make it easier to find for others. Maybe topics like git
, autocommit
, potentially others?
For example we have logs subdir, which dont need to watch.
Hi,
Thank you for this gem.
in windows I get this error with long paths (more than 260 charachters):
2020-06-01 02:45:44: Git related error, invalid path '\\?\F:\_bin\.....html' (path too long)
2020-06-01 02:45:44: Cannot add files to index
git already solved this by using this config flag :
git config core.longpaths true
and libgit2
seems to have added support for core.longpaths
in this commit:
libgit2/libgit2#5347
is it possible to update the libgit2
in Gwatch
so we can have this option in windows? I attempted to do it, but in fact I do not know C, so did not work.
Thank you very much.
I'm looking for a script exactly like this, but to run on a mac. Do you think this would compile on a mac? I don't know C at all, but I assume there is a C compiler for mac. But I can understand if you don't have a mac you're maybe not interested in maintaining a build for a platform you can't directly test, etc.
Hey,
quick question, does this take .gitignore into account or does it see the file change and tries to commit it even tho the file/folder is ignored?
If a file is written say every 10s to the git repo, will gwatch commit 30s after the first right, including all the intervening changes?
My use case is that I want a "If I forget, make an auto commit" script. So I want a script that will wait until the last change to the repo was made n seconds ago before making a commit. I'm wondering if gwatch will support that mode of operation.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.