$ git clone -n https://gitee.com/happy_orange/nodejs.git /var/lib/mock/dist-an23-build-95262-45500/root/chroot_tmpdir/scmroot/nodejs Cloning into '/var/lib/mock/dist-an23-build-95262-45500/root/chroot_tmpdir/scmroot/nodejs'... $ git reset --hard origin/a23 HEAD is now at c896075 update