$ git clone -n https://gitee.com/wenyuzifang/libatomic_ops.git /var/lib/mock/dist-an23-build-449935-73445/root/chroot_tmpdir/scmroot/libatomic_ops Cloning into '/var/lib/mock/dist-an23-build-449935-73445/root/chroot_tmpdir/scmroot/libatomic_ops'... $ git fetch origin 7e3cbe3725ce8bad4afb0460847f24c1ffa59804:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/libatomic_ops * [new ref] 7e3cbe3725ce8bad4afb0460847f24c1ffa59804 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7e3cbe3 Update code from upstream