1
1

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 1 year has passed since last update.

Git使い方

Last updated at Posted at 2023-06-20

リポジトリをGitHub上で作成する。

初回コミット時

.sh
echo "# test" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin git@github.com:y-nagayoshi/test.git
git push -u origin main

二回目以降コミット時

.sh
git status
git add -A
git commit -m "変更内容"
git remote add origin git@github.com:y-nagayoshi/test.git
git branch -M main
git push -u origin main
1
1
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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?