- Gitとは
- プログラムの更新を記録してくれる
- 複数人で開発するときに、効率を高めてくれる
- インストール方法
- Homebrewを用いて、インストールする
- github
- gitを公開する場所
- gitとgithubは別物
- github コマンド
-
git config --global user.name "ユーザーネーム"
- githubにユーザーネームを登録する
-
git config --global user.email メールアドレス
- githubにユーザーネームを追加する
-
git init
- リポジトリを新規に作成」するときに使用するコマンド
-
git add [ファイル名]
- gitをステージングエリアに置く
-
git commit -m "最初のコミット"
- gitをコミットする
-
git add -A
- 全てのファイルを、stagingに入れる
-
git log
- gitの履歴を確認する
-
git remote add origin [url名]
- aa
-
git push
- リモートのリポジトリにあげる
-
git clone [url名]
- ローカルにリポジトリを持ってくる
-
git clone [url名] ファイル名
- 新しいファイル名をつける
-
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme