Add a doc for contributor tips (#2480) Contains some recommendations for tools and git setup for people contributing to IREE. This is an opinionated guide that is largely just *my* setup, but I know it overlaps significantly with other people's as well and hopefully it can evolve into something more general.
diff --git a/scripts/git/main_to_google.sh b/scripts/git/main_to_google.sh index 4de198a..53c2513 100755 --- a/scripts/git/main_to_google.sh +++ b/scripts/git/main_to_google.sh
@@ -19,7 +19,7 @@ # # - Requries the gh CLI (https://github.com/cli/cli) to create a PR. # - Will force push to the configured PR_BRANCH (default "main-to-google") on -# the configured FORK_REMOTE (default "fork") +# the configured FORK_REMOTE (default "origin") # - Requires that local "main" branch is a pristine (potentially stale) copy # of the "main" branch on the configured UPSTREAM_REMOTE # (default "upstream"). @@ -33,7 +33,7 @@ PR_BRANCH="${PR_BRANCH:-main-to-google}" UPSTREAM_REMOTE="${UPSTREAM_REMOTE:-upstream}" -FORK_REMOTE="${FORK_REMOTE:-fork}" +FORK_REMOTE="${FORK_REMOTE:-origin}" if [[ -n "$(git status --porcelain)" ]]; then echo "Working directory not clean. Aborting"