[Enhancement] Update format script to support upstream repository for file formatting (#221)
- Modified `format.sh` to first check for the upstream repository before falling back to the local `origin/main` branch for determining the merge base. - Improved logic to handle cases where the upstream repository is not available, ensuring robust file formatting across branches.
Showing
Please register or sign in to comment