LoginSignup
2
2

More than 5 years have passed since last update.

あるディレクトリをgithubにコミットする

Posted at
cd ~/targetProject
git init
git config -l | grep remote #リモートの設定がない
git remote add origin https://github.com/hoge/fuga.git # コミットしたいurlを指定
git config -l | grep remote #リモート設定確認できる
git pull
git add .
git commit -m 'init commit'
git push origin mater
2
2
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
2
2