Git基本コマンド
【Git】基本コマンドを参考にしました。
1 2 3 | git init git add * git commit -m "initial commit" |
1 2 | cd [ローカルリポジトリのパス] git clone [リモートリポジトリパス] (例: https://github.com/jquery/jquery.git) |
1 2 3 | git add [ファイル名] //追加 git commit -a -m "任意のコメント" //コミット (-aオプションは変更を自動検出してくれる) git push origin master //masterを更新 |
コメント
コメントを投稿