Skip to content

Commit

Permalink
Configure Git safe.bareRepository
Browse files Browse the repository at this point in the history
  • Loading branch information
ferrarimarco committed Jan 4, 2024
1 parent 229b1b7 commit edf6d53
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,13 @@ ff = only
# change to maching for machines with older versions of git 1.x.x
default = simple

[safe]

# Work with bare repositories specified via the top-level --git-dir command-line
# option, or the GIT_DIR environment variable
# Ref: https://git-scm.com/docs/git-config#Documentation/git-config.txt-safebareRepository
bareRepository = explicit

# Don't use unsecure protocols to access GitHub
[url "https://github.com/"]

Expand Down

0 comments on commit edf6d53

Please # to comment.