[...] 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 HEAD is now at d6ffe3a - initial - dirs patch allows to specify arch-dependent libdir - xchat-gtk2 switches xchat plugin to use glib 2.x headers (instead of 1.x) fatal: HEAD does not point to a branch Available branches: master Searching for tag auto/ti/zh-autoconvert-0.3.16-1... Searching for tag auto/ti/zh-autoconvert-0_3_16-1... --2018-09-03 10:12:57-- http://distfiles.pld-linux.org/distfiles/by-md5/1/f/1f4aa2332afc076910b5d510b8c81966/zh-autoconvert_0.3.16.orig.tar.gz 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: 275360 (269K) [application/x-gzip] Saving to: 'zh-autoconvert_0.3.16.orig.tar.gz' 0K .......... .......... .......... .......... .......... 18% 1.21M 0s 50K .......... .......... .......... .......... .......... 37% 2.42M 0s 100K .......... .......... .......... .......... .......... 55% 66.2M 0s 150K .......... .......... .......... .......... .......... 74% 79.7M 0s 200K .......... .......... .......... .......... .......... 92% 2.58M 0s 250K .......... ........ 100% 34.3M=0.08s 2018-09-03 10:12:57 (3.23 MB/s) - 'zh-autoconvert_0.3.16.orig.tar.gz' saved [275360/275360] Building target platforms: i686-linux Wrote: /home/users/builder/rpm/SRPMS/zh-autoconvert-0.3.16-1.src.rpm exit status 0 Tagging with prefix: auto/ti/ HEAD is now at d6ffe3a - initial - dirs patch allows to specify arch-dependent libdir - xchat-gtk2 switches xchat plugin to use glib 2.x headers (instead of 1.x) fatal: HEAD does not point to a branch Writing git revision for tag auto/ti/zh-autoconvert-0.3.16-1 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.91357 + umask 022 + cd /home/users/builder/rpm/BUILD + rm -rf autoconvert-0.3.16 Begin-TLD-Builder-Info Build-Time: user:0.53s sys:0.05s real:1.84s (faults io:0 non-io:96077) Files queued for ftp: 276121 zh-autoconvert-0.3.16-1.src.rpm 193 zh-autoconvert-0.3.16-1.src.rpm.uploadinfo End-TLD-Builder-Info