Skip to content
Hem Neema edited this page Jun 25, 2018 · 5 revisions

Welcome to the XRT wiki!

For developers:

GitHub Setup

    1. 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"
    1. Clone the forked repository to local server
    1. git clone https://github.com//XRT.git
    1. Configure your git remote
    1. https://help.github.com/articles/configuring-a-remote-for-a-fork/
    1. 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$

GitHub Development Model

  • 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
Clone this wiki locally