From aaf9cd414e0c7e6afb82bea53ed6d24856c38099 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Wed, 8 Jan 2025 23:01:48 +0100 Subject: [PATCH] chore: update example --- examples/config/gitnow.toml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/examples/config/gitnow.toml b/examples/config/gitnow.toml index 45f34e7..d885466 100644 --- a/examples/config/gitnow.toml +++ b/examples/config/gitnow.toml @@ -1,7 +1,31 @@ +[settings] +# Runs after a project is fetched for the first time, either a single string, or multiple in an array +post_clone_command = "jj git init --colocate" +# Runs after a project is jumped to if it already exists. +post_update_command = ["git pull", "jj git fetch"] + [[providers.github]] +# Who is the user running the clone command +current_user = "kjuulh" +# How to authenticate to github +access_token = { env = "GITHUB_ACCESS_TOKEN" } + +# Which users to index users = ["kjuulh"] +# Which organisations to index organisations = ["lunarway"] [[providers.gitea]] +# WHich gitea instance to authenticate against +url = "https://git.front.kjuulh.io/api/v1" + +# How to authenticate to gitea +current_user = "kjuulh" + +# WHich token to use to authenticate +access_token = { env = "GITEA_ACCESS_TOKEN" } + +# Which users to index users = ["kjuulh"] +# Which organisations to index organisation = ["noorgplease"]