Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ echo "======================="

apply_style

git config --global --add safe.directory $PWD

modified_files=$(git status | grep modified)

if [[ $? == 0 ]] ;then
Expand All @@ -45,6 +47,7 @@ if [[ $? == 0 ]] ;then
echo "Committing to Current Branch"
echo "============================"

git config --global --add safe.directory $PWD
git config --global user.email "$email"
git config --global user.name "$name"
git config --global push.default current
Expand Down