Skip to content

Commit 0400273

Browse files
authored
add git configuration target to Makefile for Codespaces (#1558)
add gitconfig to Makefile for codespace Signed-off-by: Evan Baker <[email protected]> Signed-off-by: Evan Baker <[email protected]>
1 parent 6e458a6 commit 0400273

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Makefile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,14 @@ $(REPO_ROOT)/.git/hooks/pre-push:
680680

681681
install-hooks: $(REPO_ROOT)/.git/hooks/pre-push ## installs git hooks
682682

683-
setup: tools install-hooks workspace ## performs common required repo setup
683+
gitconfig: ## configure the local git repository
684+
@git config commit.gpgsign true
685+
@git config pull.rebase true
686+
@git config fetch.prune true
687+
@git config core.fsmonitor true
688+
@git config core.untrackedcache true
689+
690+
setup: tools install-hooks gitconfig ## performs common required repo setup
684691

685692

686693
##@ Tools

0 commit comments

Comments
 (0)