[...] 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 f56baf0... Add R: lua-socket. Release 2 fatal: HEAD does not point to a branch Available branches: master Searching for tag auto/ti/libquvi-scripts-0.9.20131130-2... Searching for tag auto/ti/libquvi-scripts-0_9_20131130-2... --2018-03-14 16:55:50-- http://distfiles.pld-linux.org/distfiles/by-md5/4/6/46ddfd887260a515199c2e1ba8c46d8a/libquvi-scripts-0.9.20131130.tar.xz 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: 322080 (315K) [application/octet-stream] Saving to: 'libquvi-scripts-0.9.20131130.tar.xz' 0K .......... .......... .......... .......... .......... 15% 1.21M 0s 50K .......... .......... .......... .......... .......... 31% 2.40M 0s 100K .......... .......... .......... .......... .......... 47% 71.8M 0s 150K .......... .......... .......... .......... .......... 63% 76.6M 0s 200K .......... .......... .......... .......... .......... 79% 2.53M 0s 250K .......... .......... .......... .......... .......... 95% 106M 0s 300K .......... .... 100% 185M=0.08s 2018-03-14 16:55:50 (3.75 MB/s) - 'libquvi-scripts-0.9.20131130.tar.xz' saved [322080/322080] Building target platforms: i686-linux Wrote: /home/users/builder/rpm/SRPMS/libquvi-scripts-0.9.20131130-2.src.rpm exit status 0 Tagging with prefix: auto/ti/ HEAD is now at f56baf0... Add R: lua-socket. Release 2 fatal: HEAD does not point to a branch Writing git revision for tag auto/ti/libquvi-scripts-0.9.20131130-2 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.98459 + umask 022 + cd /home/users/builder/rpm/BUILD + rm -rf libquvi-scripts-0.9.20131130 Begin-TLD-Builder-Info Build-Time: user:0.84s sys:0.23s real:2.23s (faults io:0 non-io:78684) Files queued for ftp: 326940 libquvi-scripts-0.9.20131130-2.src.rpm 200 libquvi-scripts-0.9.20131130-2.src.rpm.uploadinfo End-TLD-Builder-Info