Hi! Welcome to RROS ~
- Create a Repository on GitHub
- Bind Local with Remote
- Manage Branches and Pull Request
- Make a Repository Public
- It is highly recommended to use the template repository rros_template_repo when you create a new repository (should be private when developing).
- Add the "admin" team to your new repository.
Now you have already create a remote repository on the GitHub, the next step is to bind it with your local repository. There are three kinds of situation.
-
You do not have a local repository
This means you have not rungit initin your target directory / folder.Now all you need to do is run
git clone [your remote repository link]Then you can start coding in your local repository.
-
You have init a local repository without any remote repository bound with it
Run:
git remote add origin [your remote repository link] -
You have init a local repository,but there is already a remote repository bound with it
Save your work first
Then run:
git remote set-url origin [your NEW remote repository link]
-
For any new feature, we highly recommended you start a new branch and work on it (to make the main branch clean).
For example, if you want to develop a feature "dance" on a robot. After talking with the project manager, you can add a new branch in the local repo, e.g.,"feature/dance" by using
git checkout -b feature/dance
Then you can work on it (git pull/git rebase/git add/git commit) -
If you finished your work and the code has passed all the tests, push your branch to GitHub and make a pull request. After the pull request is approved, merge your branch to the main branch online, if necessary, address the conflicts.
-
After updating the main branch, you can delete the feature branch on the GitHub and in your local repository
-
Please contact any member in the admin team so we can update the repository list.
-
Delete the ".gitignore" file
-
Write the README
-
Add a ".rosinstall" file if necessary


