-
Notifications
You must be signed in to change notification settings - Fork 490
Home
Hem Neema edited this page Jun 25, 2018
·
5 revisions
Welcome to the XRT wiki!
For developers:
-
- Create a fork of https://github.com/Xilinx/XRT.git using XRT GitHub page. This fork will be called origin in git parlance. upstream refers to the location where you forked from.
- It will be something like "https://github.com//XRT.git"
-
- Clone the forked repository to local server
-
- git clone https://github.com//XRT.git
-
- Configure your git remote
-
- Here is an example
sonals@xsjsonals5570:~/git/XRT/src/runtime_src/doc/toc$ git remote -v
origin https://sonals@github.com/sonals/XRT.git (fetch)
origin https://sonals@github.com/sonals/XRT.git (push)
upstream https://sonals@github.com/Xilinx/XRT.git (fetch)
upstream https://sonals@github.com/Xilinx/XRT.git (push)
sonals@xsjsonals5570:~/git/XRT/src/runtime_src/doc/toc$
- Here is an example
- Make changes; test changes; commit to your local repository
- : Squash your change history if you wish by rebase your changes: git rebase -i origin/master
- push the changes to your fork on GitHub into the master branch.
- git push origin master
- Go back to GitHub page and create Pull Request. This will show up on upstream at https://github.com/Xilinx/XRT.git
- Admins review the change and commit them to upstream
- Sync your origin with latest changes in upstream for master branch
- git pull --rebase upstream master
- git push origin master