Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 950 Bytes

README.md

File metadata and controls

40 lines (32 loc) · 950 Bytes

This repo is for labs

Working in this repo

  1. Git clone the repo
git clone <Input the HTTPS of the repo>

here it should be

git clone https://github.com/ironmanyu/robotics_labs.git
  1. if you have not a branch yet, you need to set up it. If you have a branch already, go to step 4.
git checkout -b <your account, for example zhitaoyu/testGitHub>
  1. Show your current branch: git branch shows your current branch
git branch

Note: always check which branch you are on and if it is the correct branch to push before run git push

  1. Do any operations you like such as create a .txt file. Add existing files to the repository :
git add .
  1. Commit this repository for the first time :
git commit -m "First commit"
  1. Push your commit to your branch on github.
git push

Note: if it is newly created branch run 'git push --set-upstream origin zhitaoyu/testGitHub' to push your changes.