[...] state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b new_branch_name HEAD is now at f69cfe7... - due to xserver 1.17 - release 5 (by relup.sh) fatal: HEAD does not point to a branch Available branches: master Searching for tag auto/ti/xorg-driver-video-fbdev-0.4.4-5... Searching for tag auto/ti/xorg-driver-video-fbdev-0_4_4-5... --2018-03-15 09:16:45-- http://distfiles.pld-linux.org/distfiles/by-md5/3/9/3931c0e19d441cc576dc088f9eb9fd73/xf86-video-fbdev-0.4.4.tar.bz2 Resolving distfiles.pld-linux.org (distfiles.pld-linux.org)... 193.239.45.41 Connecting to distfiles.pld-linux.org (distfiles.pld-linux.org)|193.239.45.41|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 293545 (287K) [application/x-bzip2] Saving to: 'xf86-video-fbdev-0.4.4.tar.bz2' 0K .......... .......... .......... .......... .......... 17% 1.21M 0s 50K .......... .......... .......... .......... .......... 34% 2.42M 0s 100K .......... .......... .......... .......... .......... 52% 82.0M 0s 150K .......... .......... .......... .......... .......... 69% 70.0M 0s 200K .......... .......... .......... .......... .......... 87% 2.50M 0s 250K .......... .......... .......... ...... 100% 84.6M=0.08s 2018-03-15 09:16:45 (3.42 MB/s) - 'xf86-video-fbdev-0.4.4.tar.bz2' saved [293545/293545] Building target platforms: i686-linux Wrote: /home/users/builder/rpm/SRPMS/xorg-driver-video-fbdev-0.4.4-5.src.rpm exit status 0 Tagging with prefix: auto/ti/ HEAD is now at f69cfe7... - due to xserver 1.17 - release 5 (by relup.sh) fatal: HEAD does not point to a branch Writing git revision for tag auto/ti/xorg-driver-video-fbdev-0.4.4-5 On detached HEAD. Use -r BRANCHNAME to override error: Macro %_builddir has empty body error: Macro %_builddir has empty body Executing(--clean): env -i TMP=/home/users/builder/tmp HOME=/home/users/builder PATH=/bin:/usr/bin:/usr/sbin:/sbin:/usr/X11R6/bin TMPDIR=/home/users/builder/tmp /bin/sh -e /home/users/builder/tmp/rpm-tmp.76401 + umask 022 + cd /home/users/builder/rpm/BUILD + rm -rf xf86-video-fbdev-0.4.4 Begin-TLD-Builder-Info Build-Time: user:0.74s sys:0.20s real:2.10s (faults io:0 non-io:91484) Files queued for ftp: 298676 xorg-driver-video-fbdev-0.4.4-5.src.rpm 201 xorg-driver-video-fbdev-0.4.4-5.src.rpm.uploadinfo End-TLD-Builder-Info