1
1

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 3 years have passed since last update.

AUTOSAR CountdownAdvent Calendar 2022

Day 25

git-svn 導入記(macOS)

Last updated at Posted at 2021-08-24

Mac(Catalina)でgit-svnを使えるようにする
https://gumfum.hatenablog.com/entry/2020/08/03/053000

brew install git-svn

でやってみた。

bash
$ brew install git-svn
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> Updated Formulae
Updated 149 formulae.
==> New Casks
infra
==> Updated Casks
Updated 5 casks.
Warning: No available formula or cask with the name "git-svn". Did you mean git-svn-abandon
==> Searching for similarly named formulae...
This similarly named formula was found:
git-svn-abandon
To install it, run:
  brew install git-svn-abandon
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.

で言われるままに。

bash
$ brew install git-svn-abandon
Warning: You are using macOS 10.13.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
old version.
==> Downloading https://ghcr.io/v2/homebrew/core/git-svn-abandon/manifests/0.0.1
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/git-svn-abandon/blobs/sha256:06ae7b10d6efedfb1ba1c781509f717f6b680c4a7408f15690f6800ee06594f3
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:06ae7b10d6efedfb1ba1c781509f717f6b680c4a7408f15690f6800ee06
######################################################################## 100.0%
==> Pouring git-svn-abandon--0.0.1.all.bottle.tar.gz
🍺  /usr/local/Cellar/git-svn-abandon/0.0.1: 7 files, 8.6KB
$ git svn --version
git-svn version 2.33.0 (svn 1.10.0)

導入できたんなら使おうと思った。

bash
$ git svn clone https://svn.dokosoko/svn/dokosoko/ .
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint: 	git config --global init.defaultBranch <name>
hint: 
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint: 
hint: 	git branch -m <name>
Initialized empty Git repository in /Users/ogawakiyoshi/dokosoko/.git/
Can't create session: Unable to connect to a repository at URL 'https://svn.dokosoko/svn/dokosoko': '/svn/dokosoko' path not found at /usr/local/Cellar/git/2.33.0/share/perl5/Git/SVN.pm line 148.
1
1
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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?