Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Octopress は、コマンドを使用してブログ投稿を作成する簡単な方法を提供しますrake new_post[title]。コマンドによって作成された投稿への方法renameまたは投稿はありますか?delete
rake new_post[title]
rename
delete
source/_post/ 内の対応するファイルの名前を変更するか削除するだけです。Web サイトを展開する一般的な方法 (つまりrake deploy) を使用する場合、git を使用して、名前の変更または削除の変更を検出します。更新は、手動の支援なしで自動的にコミットされます。ただし、rsync を使用rake rsyncして Web サイトをデプロイする場合、rsyncは名前変更操作を検出できない場合があります。(不必要な不便を導入するために使用しないと思います。XD)
rake deploy
rake rsync