ホーム > 開発環境 > wordpressをsvn登録

wordpressをsvn登録

2012 年 2 月 9 日 コメントをどうぞ コメント

テーマの編集失敗でちょっとソース管理を考えた。

 

この際だから、SVNに登録しようと思う。

 

SVN本体は、以前インストールしていたものがあるのでそれを使用する。

さくらサーバ上にインストールしたsvnにコマンドラインで登録します。

 

以前作成したリポジトリがあるが、整理しようと、いったん削除。

リポジトリのディレクトリごと削除でOK

 

新規リポジトリ作成。

⇒リポジトリにするディレクトリを作成

⇒「svnadmin create リポジトリ用ディレクトリパス」でリポジトリ作成

⇒成功すれば、ディレクトリ内にdbやらcofやらが出来上がる。

 

登録(インポート)

⇒登録したいファイル またはディレクトリのあるところに移動。

⇒「 import ディレクトリ名 file://リポジトリパス」で登録

⇒ディレクトリ内のものはすべて登録される。

⇒エディタが立ち上がるが、今回は無視 esc 「:wq」 たぶん登録時のコメントとかだと思うが、特に必要ないので。

 

管理ファイルにする。

⇒対象ディレクトリ削除(チェックアウト時に同名の非管理ファイルが存在するとエラーになった。他に方法があるかもしれないが、取り合えず)

⇒「svn co file://リポジトリパス 対象ディレクトリ 」でチェックアウト

 

これで管理できたはず。

 

チームで管理するための構成とか標準的なものがあるようだけど、個人だしバックアップが目的だから、ブランチとかは特に作らなかった。

とりあえずこれで失敗したときにも取り出せば何とかなるだろう。

関連する記事

Digital content producers Zachary Bennett and Karen Nourse have lived for free in their $4,754.02 per month flat on West wholesale football jerseys china 26th Street. They have been living there since June 2010. Back then, there http://www.cheapnfljerseyssu.com were other residential units in the nine story building, but now there are only businesses and art galleries. Now, their landlord says it’s time to pay out the $410,000 they owe or get out. But their lawyer Margaret Sandercock claims: ‘They’re entitled to be there.’ Bennett and Nourse don’t think they should have to pay because of Loft Law. Loft Law is designed to protect people living illegally in commercial or factory buildings. The law was created to bring these buildings up to fire codes and to give rights and rent protection to the tenants. Lawyers representing the landlord say the pair can stay in the unit if they pay, and insist the property is legal.10. How to Get In Shape Try VolleyballVolleyball is probably one http://www.cheapjerseysupplyforyou.com of the easiest sport that you may want to start with. It doesn’t demand too much running/sprinting and is easy on your heart. However, it’s a team sport played by six players on each side, you will need to get at least eleven of your friends or family members to play. You may, however, made do with four players Baratas Ray Ban on each side.This is SCIENCE FRIDAY. I’m Ira Flatow. We know that concussions can have very serious consequences, particularly if you’ve suffered more than one head injury. But new research is saying that even a single concussion may cause lasting brain damage. The new study compared NBA Jerseys Cheap brain scans from a group of healthy individuals and a group of concussion patients and found that after a year, those who suffered a concussion showed signs of structural brain damage in regions of the brain linked to mood disorders and depression.The stock just barely meets the minimum dividend yield of 2%, but growth from emerging markets makes oakley sunglasses outlet up for lower current income. The company acquired Bucyrus International in July of this year, a deal estimated to bring up to $500 million in growth and savings by 2015 (conference call pdf). The stock price has outperformed the S by 21.4% cheap fake oakleys over the last twelve months.It is now a part of several sporting events the world over. With the kind of sophisticated moves that are being included, and the heavy duty cheers that are gaining momentum, one can see why this is not a sport that will stop being popular anytime soon.. If you do not have a lot of money, but want an NFL jersey to wear when you are watching the football games on Sunday, you may want to consider buying a jersey of a player who was recently traded away or possibly just retired. Many times when a player leaves a team, NFL jersey shops will place those particular NFL jerseys on sale to clear out their inventory. Often you can pick these jerseys up anywhere from $20 to $60. To see if any of these jerseys are available for your team, you can buy from online store

関連する記事

カテゴリー: 開発環境 タグ:
  1. コメントはまだありません。
  1. トラックバックはまだありません。