logoalt Hacker News

nicotyyesterday at 9:33 PM2 repliesview on HN

How would they do that if they don't use git for version control? Does GitHub allow other forms of version control other than git?


Replies

simonwyesterday at 10:26 PM

SQLite does it despite using Fossil - their mirror is at https://github.com/sqlite/sqlite

Git is so established now that it's sensible for alternative VCS to have a mode where they can imitate the Git protocol - or seven without that you can still checkout the latest version of your repo and git push that on a periodic basis.

show 1 reply
oztenyesterday at 10:55 PM

pijul clone https://nest.pijul.org/pijul/pijul

pijul log --hash-only > all_changes.txt

pijul unrecord --all

git init

``` for HASH in $(cat all_changes.txt); do pijul apply "$HASH" pijul reset # sync working copy to channel state git add -A git commit -m "pijul change: $HASH" done ```

git remote add origin [email protected]:you/pijul-mirror.git git push -u origin main