Skip to content

Commit

Permalink
docs: Update README files with git pull command
Browse files Browse the repository at this point in the history
Updates the README files to include the `git pull` command for updating the theme if it was installed via `git clone`.

This ensures that users have the latest version of the theme and can benefit from any new features or bug fixes.
  • Loading branch information
EvanNotFound committed Apr 6, 2024
1 parent ec13f54 commit 5e6bdb4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,11 @@ To update hexo-theme-redefine, you can run the same **npm** command
$ npm install hexo-theme-redefine@latest
```

Another method is by **git clone**
If you installed the theme by **git clone**, you can update the theme by running the following command

```sh
$ git clone https://github.com/EvanNotFound/hexo-theme-redefine.git themes/redefine
$ cd themes/redefine
$ git pull
```


Expand Down
3 changes: 2 additions & 1 deletion README_zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ $ npm install hexo-theme-redefine@latest
通过 `git` 更新到最新的 `main` 分支:

```sh
$ git clone https://github.com/EvanNotFound/hexo-theme-redefine.git themes/redefine
$ cd themes/redefine
$ git pull
```


Expand Down
3 changes: 2 additions & 1 deletion README_zh-TW.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ $ npm install hexo-theme-redefine@latest
通過 `git` 更新到最新的 `main` 分支:

```sh
$ git clone https://github.com/EvanNotFound/hexo-theme-redefine.git themes/redefine
$ cd themes/redefine
$ git pull
```


Expand Down

0 comments on commit 5e6bdb4

Please sign in to comment.