1 Star 1 Fork 0

Xintao / records

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or Download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

记录

Page hosted on GitHub | Page hosted on Gitee码云
GitHub | Gitee码云

记录平时遇到的问题和解决方法.

[!TIP] 本仓库在 GitHubGitee码云 同步. 欢迎在 GithubGitee码云 贡献.


[!NOTE]

  • Github pages will automatically update the contents in gh-pages.
  • Gitee pages require manual updates.

[!COMMENT|label: Usage]

  1. File structure Run the following two commands in the same root folder.
    git clone git@github.com:xinntao/records.git
    git clone -b gh-pages git@github.com:xinntao/records.git records-gh-pages
    The file structure should be like this:
    - root
    |--- records
    |--- records-gh-pages
    Note that in order to trigger the GitHub actions, we should also copy the .github folder to the records-gh-pages branch for the fist time.
  2. Update the master branch in the records folder.
  3. Build the gitbook: gitbook build
  4. In the records repo, copy the contents in _book folder to records-gh-pages: cp -r _book/* ../records-gh-pages
  5. Push to remotes:
    • For records: git push origin master
    • For records-gh-pages: git push origin gh-pages

Repository Comments ( 0 )

Sign in for post a comment

About

Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
1
https://gitee.com/xinntao/records.git
git@gitee.com:xinntao/records.git
xinntao
records
records
master

Search