6
2

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 3 years have passed since last update.

GitHub 2回目以降のpush ほんとに簡単にメモ書き

Posted at

ほんとに簡単にメモ書き

github
$ git init
$ git add .

ここでもしaddできなかった場合は、-uで変更したファイルをaddできる

github
$ git add -u
$ git add 指定したファイル

新規作成したリポジトリ等は直接指定してaddすればできるはず。

github
$ git commit -m ‘message’
$ git status

# On branch master
# Your branch is ahead of 'origin/master’ by 1 commit.

statusでコミットを確認できればpushでOK

github
$ git push
6
2
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
6
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?