Skip to content

Instantly share code, notes, and snippets.

@cozzin
Last active March 11, 2018 12:18
Show Gist options
  • Save cozzin/4286ae28a254edc5fde593ff04210d30 to your computer and use it in GitHub Desktop.
Save cozzin/4286ae28a254edc5fde593ff04210d30 to your computer and use it in GitHub Desktop.
Adding an existing project to GitHub using the command line
git init
git add .
git commit -m "First commit"
git remote add origin 원격_저장소_URL
git remote -v
git push -u origin master
git init
git remote add origin 원격_저장소_URL
git remote -v
git pull origin master
git add .
git commit -m "First commit"
git push -u origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment