0
0

More than 1 year has passed since last update.

git初プッシュまで

Last updated at Posted at 2023-01-26
  1. githubでリモートリポジトリを作る。
  2. VSCodeのターミナルで(git init) する。
  3. VSCodeのターミナルで(git add *)する
  4. 初回だけVSCodeのターミナルで(git config --global user.email "youremail@address.com")する。
  5. 初回だけVSCodeのターミナルで(git config --global user.name "yourname")する。
  6. VSCodeのターミナルで(git commit -m "first commit")する
  7. 初回だけVSCodeのターミナルで(git remote add origin リモートリポジトリのURL)する。
  8. VSCodeのターミナルで(git branch -M main)する。
  9. VSCodeのターミナルで(git push origin main)する。

githubでtokenが必要な場合は
https://note.kiriukun.com/entry/20210904-github-password-authentication-was-removed
この記事を読んでTokenを作成する

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