Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 2.43 KB

Instruction.md

File metadata and controls

43 lines (29 loc) · 2.43 KB

Contribution Instructions

To manage our codebase, it is necessary to learn some tools. This may take some time for beginners, but will benefit the rest life. All the following instructions assume that the reader is familiar and comfortable with linux command line.

Workflow

Steps to contribute your codes to this repository:

  1. git clone and git pull the latest codes
  2. Create your own branch git checkout -b. Write codes and test.
  3. git commit your changes with clean commit message
  4. Push your branch to github with git push origin your_branch.
  5. Open a pull request to merge your branch
  6. Get your PR reviewed and approved

Style

Tools and Codes

VSCode

VSCode is the recommended IDE for coding. It is extremely powerful with the following plugins:

  • remote ssh: link to remote server
  • debug python codes by simply adding breakpoints with mouse click
  • autoformat your code to pep8 standard
  • nested jupyter notebook
  • markdown editing and preview
  • and so on...

Github

Please always use git to track your codes. Refer to the Pro Git book for comprehensive understanding of git. You may also get a quick start with the git cheatsheet. Also, the chinese Git教程 is also available. Some suggestions:

  • Write clean commit message when you push to this repository.
  • If conflict happens when you push your code, you can pull down the repository first with git pull origin main and fix the merge.

Anaconda

Please manage your local coding dependencies with anaconda.