Creating / Uploading New Repository to Git

  1. Create a new repository at git with your account ( in browser )
  2. At terminal, go under your new repository folder
  3. git add * ( adding all your files to git )
  4. git commit -m “Initial commit” ( adding commit for your first commit )
  5. git remote add origin ssh://user@test.com/~owner/yourNewRepo.git
  6. git push -u origin master
Advertisements