LoginSignup
0
0

githubでリポジトリ作成後初めてのコミットまでの手順をいつも忘れるので備忘録として…

Posted at
  1. リポジトリ作成
  2. コミットしたいディレクトリに移動
.terminal
git init
.terminal
git remote add origin https://github.com/アカウント名/リポジトリ名
.terminal
git add
.terminal
 git commit -m "first commit"
.terminal
git push -u origin main

怒られたら

.terminal
git push -u origin master

上記を試してみる

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