Iseng-iseng, saya mencoba untuk mengalihkan repositori dotfiles git saya ke Fossil di Chisel.

1. Daftar akun di chiselapp.com, lalu buat repositori baru

2. Ekspor dulu proyek git ke fossil

$ cd dotfiles
$ git fast-export --all | fossil import --git dotfiles.fossil

3. Buka dotfiles.fossil lalu masukkan remote-url repositori chiselapp.com

$ fossil open dotfiles.fossil
$ fossil remote-url https://ramdziana@chiselapp.com/user/ramdziana/repository/dotfiles

4. Sesuaikan project-code repositori lokal dengan repositori Chisel

Lihat project-code di Chisel, dengan cara masuk ke repositori, lalu menu Admin, lalu ke SQL (http://chiselapp.com/user/ramdziana/repository/dotfiles/admin_sql).

Jalankan,

SELECT * FROM config WHERE name = 'project-code';

Setelah menyalin project-code, masuk ke repositori lokal,

$ cd dotfiles
$ fossil sql -R dotfiles.fossil

Ganti project-code lokal dengan project-code yang sudah disalin tadi,

UPDATE config SET value = 'project-code-yang-disalin' WHERE name = 'project-code';

5. Sinkronkan repositori di Chisel dengan repositori lokal

$ fossil sync
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s