Skip to content
vimer edited this page Apr 22, 2026 · 4 revisions

[Propose] how to maintain and use the repo

The repo is forked and needs to be rebased regularly, so we must use riscv-base rather than the main branch

For developers

git checkout -b fix-xxx riscv-base
# fix
git commit
git push

For admin

Checkout riscv-base with one specially tag

git checkout -b riscv-base 70d99e998b4955e0049d13a98d77ae1b14db1f45

# 70d99e998b4955e0049d13a98d77ae1b14db1f45 v2.11.0

git push origin riscv-base

then

git fetch upstream
git checkout riscv-base
git rebase upstream/main

how to get tag

git ls-remote https://github.com/pytorch/pytorch.git refs/tags/v2.11*

Clone this wiki locally