Help us understand the problem. What is going on with this article?

gitでローカルディレクトリをリポジトリにする

More than 1 year has passed since last update.

リポジトリを作成する

cd '/Volumes/【中略】/'
mkdir abc.git
cd abc.git
git init --bare

作業用ディレクトリで push, pull する準備をする

mkdir abc
cd abc
git init
git remote add origin '/Volumes/【中略】/abc.git'
git push --set-upstream origin master
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away