Git
- Use
.gitignoreto exclude files from git tracking- for example, in a new line of the
.gitignorefile,- add
*.pngto exclude all files suffixed by.png - add
temp/to exclude all files under the folder namedtempthat is exactly under the same directory as the.gitignore - add
**/temp/to exclude all files and folders in any folder namedtemp - add
**/data/*.matto exclude any.matfiles in all folders nameddata(.matfiles under the subfolders ofdatawill NOT be excluded) - add
**/data/**/*.matto exclude any.matfiles under all folders nameddata(.matfiles under the subfolders ofdatawill also be excluded)
- add
- for example, in a new line of the
- Develop on a branch other than
masterormain - Don’t commit many unrelated changes at once, split them into multiple commits so that the changes in each commit are related. In this way, the commit message can more accurately describe the change.
Last modified October 27, 2021: Migrate to hugo/docsy (0f7c430)