Hide white space changes from being shown in the GitHub diff
Append ?w=1 to url of the /files page of the pull request (the "Files changed" tab)
Refactor commits
Refer to this S/O post for more help on editing commits.
Sync a fork with upstream changes
-
Update the
masterbranch of your local clone. Here are the instructions. -
Push your
masterbranch to your fork (if you are creating PRs using a fork). -
Sync your branch with the
masterbranch. This can be done in two ways: -
Merge
masterto your branch (recommended option for new contributors). -
Rebase the PR branch on the
masterbranch (recommended option for experienced contributors).