2
3

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.

GitHub ローカルリポジトリ→リモートリポジトリへの新規作成方法

Posted at
  1. GitHubでリポジトリを作成
  2. ローカルのプロジェクトをgit init
$ git init
$ git add .
$ git commit -m ‘First commit.’

3.リモートリポジトリ(GitHubのリポジトリ)を登録

$ git remote add origin git@github.com:user/repo.git

4.git pushを実行

$ git push origin master
2
3
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
2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?