0
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?

Githubのpush手順

0
Posted at

Githubのpush手順の備忘録

1.初回のみgithubで新規リポジトリを作る

2.ローカルで準備任意のフォルダで実行初期設定(初回のみ)git initファイルを追加git add .コミットgit commit -m "first commit"

3.Githubとの接続(初回のみ)git remote add origin "githubのURL"

4.pushするブランチ名を確認するgit branch確認したブランチ名でpushするgit push -u origin ブランチ名

-uはこのブランチの送り先を記憶させるオプションこれをやると次回からgit pushだけでokになる。

0
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
0
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?