Are you still worn out on GitHub?
GitHubでまだ消耗してるの?
GitHubってレスポンス遅くない?
時間を節約したくない?
You don't have to use GitHub to use Git.
多くの人が知らないので一応説明しておくと、Gitは、GitHub を使わなくても使えます。
もしあなたがエンジニアなら、MacかLinuxを使っていると思います。私はFreeBSDですが。え?Windows???(沈黙)
Creating a Git repository
GitHubは、Gitの Repository をホスティングしていますが、Gitの Bare Repositoryそのものは、あなたのパソコンでも作れて共有できます。
cd ~/
mkdir temp.git # temp.git ディレクトリ内に bare repositoryを作成する
cd temp.git
git init --bare # bare repositoryの作成
cd ~/
git clone ./temp.git cloned_repository_is_here
How to clone via SSH
sshでログインできれば、ssh経由で git repository を clone できます。
git clone username@example.com:~/temp.git
I don't understand SSH.
THAT'S COOL!!
sshを知らないエンジニアも最近は多いですよね!
そもそもWebデザイナー・コーダーの方にはsshは荷が重いですよ!
そのような場合も想定してあって、GitにはGitサーバーというデーモンが常駐してくれるプログラムがあります!
10年ほど前に、一度作ったことがありますが、もう忘れてしまいました。詳しくはググってみて下さい!
fatal: transport 'file' not allowed
If you clone a local repository, an error will occur.
ローカルのリポジトリをクローンするとエラーが発生するようになりました。
如果克隆本地存储库,则会发生错误。
This issue is resolved by running the following command:
この問題は、次のコマンドを実行することで解決します。
通过运行以下命令可以解决此问题。
git config --global protocol.file.allow always