...
Ensure core.autocrlf
is set to true
or input
. Line endings on GitHub are LF only, not CRLF!
Check:
git config --get core.autocrlf
Set:
git config --global core.autocrlf [setting]
--global
is optional, replace[setting]
with the desired setting
Additional information here: https://www.git-scm.com/book/en/v2/Customizing-Git-Git-Configuration#_core_autocrlf
Instructions
Make sure anything on the current branch has been saved, either through commit or stash.
...
Code Block |
---|
git status # Working tree should be clean, otherwise save or discard the modified file(s)
git checkout main
git pull
git submodule update --remote
git checkout -b new-branch-name |
...
Test cases (including unit tests) have been written
Documentation and comments have been written
No new TODOs. If there are, a written comment with a clear explanation of why it cannot be resolved
Formatting follows the style guide and generally passes linting
Functionality works for all use cases
Your code should work to the best of your ability; no one wants to deal with fixing code that’s “good enough” or “works most of the time” when they’re trying to focus on their own code
...