21 ms·
could you provide your code/instructions for mirroring to GitHub? I presume you mirror on every local commit?
by em3rgent0rdr 10y ago
could you provide your code/instructions for mirroring to GitHub? I presume you mirror on every local commit?
- PeCaN 10y agoNothing fancy, I just do fossil export --git repo.fossil | git fast-import manually every now and then. I could set up a fossil hook to do it, but I haven't quite bothered to yet.
- nomadbyte 10y agoIMHO, no need to actually mirror. You may simply keep the same project under both Git and Fossil, just add ".fslckout" and "_FOSSIL_" to your .gitignore. 1) Setup Git repo on GitHub. 2) Clone the Git repo. 3) Create local Fossil repo. 4) Add the cloned project to Fossil repo. 5) Work with Fossil. 6) Add/commit completed features to Git. 7) Push to GitHub. 8) Pull/Update respectively. A bit of overhead, but for personal projects easy to get used to.