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?

More than 3 years have passed since last update.

Github コマンド 基本中の基本 初期化とアップロード

Posted at

Githubコマンドの基本中の基本である初期化からアップロードまでのコマンドです。

###初期化

git init 

###ステージング

git add .

###コミット

git commit -m "メッセージ"

//コミットメッセージなしのコマンド
git commit -a --allow-empty-message -m ''

###初めての場合アップロードURLを指定する

git remote add origin URL

###二回目移行の場合はこのコマンド

git push 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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?