Skip to content

Commit

Permalink
fix: #12 apply git global setting for host key checking
Browse files Browse the repository at this point in the history
  • Loading branch information
bohdan-shulha committed Nov 9, 2024
1 parent 3cfab92 commit 5484230
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/git_pull.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ check_var GIT_REPO
check_var GIT_REF
check_var TARGET_DIR

git config core.sshCommand 'ssh -o StrictHostKeyChecking=accept-new'
git config --global core.sshCommand 'ssh -o StrictHostKeyChecking=accept-new'

# Define the git sync operation as a function
git_sync() {
Expand Down

0 comments on commit 5484230

Please sign in to comment.