Posted at

memo

More than 3 years have passed since last update.


リポジトリの初期設定

echo "# README" >> README.md

git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/ユーザー名/リポジトリ名.git
git push -u origin master


commitとpush

例)READMEに追加してcommit&push

echo "spam" >> README.md

git add README.md
git commit -m README.md
git push