[...] 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 0ed64c3... - updated to 5.0.3 (integer overflow fix) fatal: HEAD does not point to a branch Available branches: master Searching for tag auto/ti/xorg-lib-libXfixes-5.0.3-1... Searching for tag auto/ti/xorg-lib-libXfixes-5_0_3-1... --2017-04-13 07:25:56-- http://distfiles.pld-linux.org/distfiles/by-md5/0/7/07e01e046a0215574f36a3aacb148be0/libXfixes-5.0.3.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: 294400 (288K) [application/x-bzip2] Saving to: 'libXfixes-5.0.3.tar.bz2' 0K .......... .......... .......... .......... .......... 17% 1.06M 0s 50K .......... .......... .......... .......... .......... 34% 2.08M 0s 100K .......... .......... .......... .......... .......... 52% 114M 0s 150K .......... .......... .......... .......... .......... 69% 238M 0s 200K .......... .......... .......... .......... .......... 86% 2.14M 0s 250K .......... .......... .......... ....... 100% 311M=0.09s 2017-04-13 07:25:57 (3.01 MB/s) - 'libXfixes-5.0.3.tar.bz2' saved [294400/294400] Building target platforms: i686-linux Wrote: /home/users/builder/rpm/SRPMS/xorg-lib-libXfixes-5.0.3-1.src.rpm exit status 0 Tagging with prefix: auto/ti/ HEAD is now at 0ed64c3... - updated to 5.0.3 (integer overflow fix) fatal: HEAD does not point to a branch Writing git revision for tag auto/ti/xorg-lib-libXfixes-5.0.3-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.85502 + umask 022 + cd /home/users/builder/rpm/BUILD + rm -rf libXfixes-5.0.3 Begin-TLD-Builder-Info Build-Time: user:0.57s sys:0.15s real:2.03s (faults io:0 non-io:91211) Files queued for ftp: 299569 xorg-lib-libXfixes-5.0.3-1.src.rpm 196 xorg-lib-libXfixes-5.0.3-1.src.rpm.uploadinfo End-TLD-Builder-Info