$ git clone -n https://gitee.com/guyvwang/passwd.git /var/lib/mock/dist-an23-build-181877-60073/root/chroot_tmpdir/scmroot/passwd Cloning into '/var/lib/mock/dist-an23-build-181877-60073/root/chroot_tmpdir/scmroot/passwd'... $ git fetch origin eb665bb85ebaee7a751bc3ebc017f55f72013bdc:KOJI_FETCH_HEAD From https://gitee.com/guyvwang/passwd * [new ref] eb665bb85ebaee7a751bc3ebc017f55f72013bdc -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at eb665bb update passwd pkg