LoginSignup
0
0

More than 5 years have passed since last update.

[随時更新予定] コマンドまとめ

Last updated at Posted at 2019-04-21

はじめに

僕がよく使うコマンドまとめを備忘録として記載しました。

git

ローカルにリポジトリを作成し、リモートにプッシュする

プロジェクトのルートディレクトリにて、以下のコマンドを実行します。

$ git init 
$ git add .
$ git commit -m "Initial commit"
$ git remote add origin https://github.com/XXXX/XXXXXX.git
$ git push -u origin master

https://github.com/XXX/XXXXXX.gitは、sshのURLでの可能。
またgit add(ファイルを登録するコマンド)をする場合、
ルートディレクトリ以下全てのファイルをコミットしたいなら$ git add .
ファイルを指定するならgit add <ファイル名>としてください。

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