1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

svn使い方メモ

Last updated at Posted at 2019-04-19

自分用メモ。書きかけ

svn checkout

git clone相当

$ svn checkout https://svn.ruby-lang.org/repos/ruby/trunk ruby

svn update

git pull相当

$ svn update

svn info

git show相当

$ svn info

svn log

git log相当

$ svn log -l 5

svn revert

git reset --hard HEAD相当

svn revert --recursive .

svnlook

このコマンドはsvnリポジトリをホストしているサーバーでしか実行できない。

$ svnlook log /var/svn/repos/ruby -r XXXXX
$ svnlook info /var/svn/repos/ruby -r XXXXX
$ svnlook dirs-changed /var/svn/repos/ruby -r XXXXX
$ svnlook changed /var/svn/repos/ruby -r XXXXX
$ svnlook diff /var/svn/repos/ruby -r XXXXX
$ svnlook cat /var/svn/repos/ruby -r XXXXX <file>
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?