Generate a genesis address
For example from here: https://project-bitmark.github.io/brain/
Add funds to that address, from a faucet, from your coins, or by being marked
Grab the transaction id of your new funds, that’s the genesis of the mark chain, and also id of the git mark repo
Commit your git tree
[Optionally] add a gitmark.json e.g.
{
"@id": "gitmark:b1fb9acb83f85887760b2e1a71e1df370976b1596be101bb0dbe8fd1c80f91cd:0",
"genesis": "gitmark:b1fb9acb83f85887760b2e1a71e1df370976b1596be101bb0dbe8fd1c80f91cd:0",
"nick": "myrepo",
"package": "./package.json",
"repository": "./"
}
Commit gitmark.json
git mark --genesis <txid:output>
Run the produced command to create a new tx
git commit --allow-empty "<txid:output>
You are done!
You can now continue git marking as your project grows, and also push to whatever remotes that you have
Full workflow is here for illustration. Some or all of these steps can be automated, to make it a one click process