fast forward local branch without switching git fetch origin develop:develop Mark all git subdirectories as safe find $PWD -type d -name .git -printf '%h\n' | xargs -n 1 git config --global --add safe.directory