afiqyaijd
7/22/2019 - 3:29 PM

Git for Repo

To create a new repository on the command line

  echo "# manager" >> README.md
  git init
  git add README.md
  git commit -m "first commit"
  git remote add origin https://github.com/afiqyaijd/manager.git
  git push -u origin master

To push an existing repository from the command line

  git remote add origin https://github.com/afiqyaijd/manager.git
  git push -u origin master