Git

  • Initialize a local project

git init
  • Stage your project

git add .
  • Commit changes

git commit -m "This is a commit"
  • Connect Github repositry

git remote add origin <REMOTE_URL>
  • Verify if the repo was added

git remote -v
  • Push the code

git push

Last updated