$ git clone -n https://gitee.com/baur-reach/fence-agents.git /var/lib/mock/dist-an8.8-build-352040-69701/root/chroot_tmpdir/scmroot/fence-agents Cloning into '/var/lib/mock/dist-an8.8-build-352040-69701/root/chroot_tmpdir/scmroot/fence-agents'... $ git fetch origin 0436aeec78e3976d2995810951f65a503c215681:KOJI_FETCH_HEAD From https://gitee.com/baur-reach/fence-agents * [new ref] 0436aeec78e3976d2995810951f65a503c215681 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0436aee fix pushd path