$ git clone -n https://gitee.com/gaohongmei/accountsservice.git /var/lib/mock/dist-an8.6-build-180935-59494/root/chroot_tmpdir/scmroot/accountsservice Cloning into '/var/lib/mock/dist-an8.6-build-180935-59494/root/chroot_tmpdir/scmroot/accountsservice'... $ git fetch origin 0a85b77d806afe6ea4f665e439c69dcb6fba495e:KOJI_FETCH_HEAD From https://gitee.com/gaohongmei/accountsservice * [new ref] 0a85b77d806afe6ea4f665e439c69dcb6fba495e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0a85b77 Init upstream accountsservice for anolis os 23