Skip to content

Commit 3f7bc3a

Browse files
committed
Add about force option of publish command
1 parent 392ac3d commit 3f7bc3a

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,14 @@ npx qiita publish 記事のファイルのベース名
162162
npx qiita publish --all
163163
```
164164

165+
`--force`オプションを用いることで、強制的に記事ファイルの内容を Qiita に反映させます。
166+
167+
```console
168+
npx qiita publish 記事ファイルのベース名 --force
169+
# -f は --force のエイリアスとして使用できます。
170+
npx qiita publish 記事ファイルのベース名 --force
171+
```
172+
165173
### 記事の削除
166174

167175
Qiita CLI、Qiita Preview から記事の削除はできません。
@@ -201,7 +209,7 @@ Qiita 上で更新を行い、手元で変更を行っていない記事ファ
201209
npx qiita pull
202210
```
203211

204-
`--force`オプションを用いることで、記事ファイルをを全て強制的に Qiita と同期します
212+
`--force`オプションを用いることで、強制的に Qiita 上の内容を記事ファイルに反映させます
205213

206214
```console
207215
npx qiita pull --force

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy