resubmit content: step1: type git status in terminal next to console,
Step 1: Check Git Status
Open the terminal and type:
git status
This will show the current state of your files.
Step 2: Commit Changes
If there are changes to submit, run:
git commit -m "Initial commit"
Step 3: Connect to GitHub
To create a new GitHub repository, run in R (if using usethis):
usethis::use_github()
This will set up a new repository.
Step 4: Push to GitHub (If Repository Exists)
If you already have a GitHub repository, you can push your project directly:
Option 1: Use the “Push” button in the top-right corner of RStudio.
Option 2: Run in the terminal:
git push origin main
Step 5: Set Up GitHub Pages
After pushing, go to your GitHub repository:
Settings → Pages → Select the branch (e.g., main or gh-pages) and save.
4 报错总结
交叉引用没有对应的时候(在reference)里面对应就会报错,不能render book
连接不了github的token的原因是校园网,任何DNS的问题很可能就是校园网的问题.
5 Prompts :
Research writing: Please refine the translation of [text] from Chinese to English, ensuring that it is precise, scholarly, and aligns with the professional standards of psychology, psychiatry, or public health. The translation should remain faithful to the original meaning, avoiding unnecessary condensation, and the language should be fluent, stylistically appropriate, and meet the high standards of academic writing. Pay special attention to consistency in terminology, and, when necessary, consider the cultural context to ensure the translation is suitable for the target academic audience. 】