update base git config + README

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.eu.org>
This commit is contained in:
Andrei Jiroh Halili 2023-09-04 23:42:24 +08:00
parent 8c1ebd6de8
commit b3a9fa8685
No known key found for this signature in database
GPG key ID: 67BFC91B3DA12BE8
2 changed files with 11 additions and 7 deletions

View file

@ -52,8 +52,6 @@
[url "git@git.sr.ht:"] [url "git@git.sr.ht:"]
insteadOf = https://git.sh.rt insteadOf = https://git.sh.rt
pushInsteadOf = https://git.sh.rt pushInsteadOf = https://git.sh.rt
[init]
defaultBranch = main
# TODO: Set up aliases for ther Git hosts, like in Launchpad.net # TODO: Set up aliases for ther Git hosts, like in Launchpad.net
# aliases # aliases
@ -87,5 +85,11 @@
path = ~/.config/git/recaptime-dev.include.gitconfig path = ~/.config/git/recaptime-dev.include.gitconfig
[includeIf "gitdir/i:~/projects/recaptime.dev/"] [includeIf "gitdir/i:~/projects/recaptime.dev/"]
path = ~/.config/git/recaptime-dev.include.gitconfig 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/"] #[includeIf "gitdir/i:~projects/"]
# path = ~/.config/git/ajhalili2006.include.gitconfig # path = ~/.config/git/ajhalili2006.include.gitconfig

View file

@ -12,15 +12,16 @@ curl -fsSL https://scripts.andreijiroh.eu.org/dotfiles/setup.sh | bash -
## Available Git mirrors ## Available Git mirrors
This project is hosted on [hosted instance of sourcehut](https://sr.ht) at the 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: Git mirrors:
* mau.dev: <https://mau.dev/ajhalili2006/dotfiles-modern> * mau.dev: <https://mau.dev/andreijiroh.dev/dotfiles>
* GitHub: <https://github.com/ajhalili2006/dotfiles>
* Launchpad.net: <https://git.launchpad.net/ajhalili2006-dotfiles> * Launchpad.net: <https://git.launchpad.net/ajhalili2006-dotfiles>
* ~vern git: <https://git.vern.cc/ajhalili2006/dotfiles-modern> * ~vern git: <https://git.vern.cc/ajhalili2006/dotfiles-modern>
* tildegit: <https://tildegit.org/ajhalili2006/dotfiles-modern> * tildegit: <https://tildegit.org/ajhalili2006/dotfiles-modern>
[git.sr.ht]: https://git.sr.ht/~ajhalili2006/dotfiles-modern [git.sr.ht]: https://git.sr.ht/~ajhalili2006/dotfiles
## Setup ## Setup
@ -45,8 +46,7 @@ chown ajhalili2006:ajhalili2006 -Rv /home/ajhalili2006
git fetch git fetch
git checkout -f main git checkout -f main
# logout and login again to refresh your shell env or... # logout and login again to refresh your shell env
source ~/bin/postinstall-shell-init
``` ```
## Codespaces + Gitpod specifics ## Codespaces + Gitpod specifics