Skip to content

Instantly share code, notes, and snippets.

@cverbiest
Last active June 13, 2025 07:49
Show Gist options
  • Save cverbiest/52e5e43e93229b3a04784425e03e67dc to your computer and use it in GitHub Desktop.
Save cverbiest/52e5e43e93229b3a04784425e03e67dc to your computer and use it in GitHub Desktop.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment