$ git clone -n https://gitee.com/happy_orange/anaconda.git /var/lib/mock/dist-an23-build-281376-64635/root/chroot_tmpdir/scmroot/anaconda Cloning into '/var/lib/mock/dist-an23-build-281376-64635/root/chroot_tmpdir/scmroot/anaconda'... $ git fetch origin 2ba09cc0140233c1ed177063b737270519f4d5e9:KOJI_FETCH_HEAD From https://gitee.com/happy_orange/anaconda * [new ref] 2ba09cc0140233c1ed177063b737270519f4d5e9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2ba09cc add os repo in default repo list