From b3a9fa86859dad62b627a96eb4ecd96bacd11ce2 Mon Sep 17 00:00:00 2001 From: Andrei Jiroh Halili Date: Mon, 4 Sep 2023 23:42:24 +0800 Subject: [PATCH] update base git config + README Signed-off-by: Andrei Jiroh Halili --- .gitconfig | 8 ++++++-- README.md | 10 +++++----- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.gitconfig b/.gitconfig index 1d62d19..7afa846 100644 --- a/.gitconfig +++ b/.gitconfig @@ -52,8 +52,6 @@ [url "git@git.sr.ht:"] insteadOf = https://git.sh.rt pushInsteadOf = https://git.sh.rt -[init] - defaultBranch = main # TODO: Set up aliases for ther Git hosts, like in Launchpad.net # aliases @@ -87,5 +85,11 @@ path = ~/.config/git/recaptime-dev.include.gitconfig [includeIf "gitdir/i:~/projects/recaptime.dev/"] path = ~/.config/git/recaptime-dev.include.gitconfig +[includeIf "gitdir/i:/workspaces/recaptime.dev"] + path = ~/.config/git/recaptime-dev.include.gitconfig +[includeIf "gitdir/i:~/projects/recaptime-dev/"] + path = ~/.config/git/recaptime-dev.include.gitconfig +[includeIf "gitdir/i:/workspaces/recaptime-dev"] + path = ~/.config/git/recaptime-dev.include.gitconfig #[includeIf "gitdir/i:~projects/"] # path = ~/.config/git/ajhalili2006.include.gitconfig diff --git a/README.md b/README.md index c7bf4a6..b8a2c4b 100644 --- a/README.md +++ b/README.md @@ -12,15 +12,16 @@ curl -fsSL https://scripts.andreijiroh.eu.org/dotfiles/setup.sh | bash - ## Available Git mirrors This project is hosted on [hosted instance of sourcehut](https://sr.ht) at the -[`~ajhalili2006/dotfiles-modern`][git.sr.ht] Git repository, alongside the following +[`~ajhalili2006/dotfiles`][git.sr.ht] Git repository, alongside the following Git mirrors: -* mau.dev: +* mau.dev: +* GitHub: * Launchpad.net: * ~vern git: * tildegit: -[git.sr.ht]: https://git.sr.ht/~ajhalili2006/dotfiles-modern +[git.sr.ht]: https://git.sr.ht/~ajhalili2006/dotfiles ## Setup @@ -45,8 +46,7 @@ chown ajhalili2006:ajhalili2006 -Rv /home/ajhalili2006 git fetch git checkout -f main -# logout and login again to refresh your shell env or... -source ~/bin/postinstall-shell-init +# logout and login again to refresh your shell env ``` ## Codespaces + Gitpod specifics