$ git clone -n https://gitee.com/lizhao2025/tcsh.git /var/lib/mock/dist-an23-build-497525-74608/root/chroot_tmpdir/scmroot/tcsh Cloning into '/var/lib/mock/dist-an23-build-497525-74608/root/chroot_tmpdir/scmroot/tcsh'... $ git fetch origin a257fcc8b430da62d8dc92d217a65ce5d9f79c10:KOJI_FETCH_HEAD From https://gitee.com/lizhao2025/tcsh * [new ref] a257fcc8b430da62d8dc92d217a65ce5d9f79c10 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a257fcc Update code from upstream