Skip to content

Commit

Permalink
create default git config for user
Browse files Browse the repository at this point in the history
  • Loading branch information
LucienMorey committed Oct 12, 2024
1 parent 6716d86 commit 9478008
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
7 changes: 2 additions & 5 deletions meta/configs/git-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
# default git config
- shell:
- git config --global core.editor "nvim"
- git config --global user.name "Lucien Morey"
- git config --global init.defaultBranch main
- link:
~/.gitconfig: tools/git/gitconfig
1 change: 1 addition & 0 deletions meta/profiles/workstation
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ snap-install-sudo
go-core-install-sudo
nvim-install-sudo
change-shell-zsh-sudo
git-config
zsh-config
bash-config
tmux-config
Expand Down
8 changes: 8 additions & 0 deletions tools/git/gitconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[user]
name = Lucien Morey

[core]
editor = nvim

[init]
defaultBranch = main

0 comments on commit 9478008

Please sign in to comment.