[...] do so (now or later) by using -b with the checkout command again. Example: git checkout -b new_branch_name HEAD is now at 82216f5... - updated to 2.3.9 - removed obsolete xserver-1.19 patch fatal: HEAD does not point to a branch Available branches: master Searching for tag auto/ti/xorg-driver-video-savage-2.3.9-1... Searching for tag auto/ti/xorg-driver-video-savage-2_3_9-1... --2017-04-13 07:27:06-- http://distfiles.pld-linux.org/distfiles/by-md5/f/6/f694b2b201fb815cd3b910e639f55bb5/xf86-video-savage-2.3.9.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: 433686 (424K) [application/x-bzip2] Saving to: 'xf86-video-savage-2.3.9.tar.bz2' 0K .......... .......... .......... .......... .......... 11% 1.06M 0s 50K .......... .......... .......... .......... .......... 23% 2.08M 0s 100K .......... .......... .......... .......... .......... 35% 118M 0s 150K .......... .......... .......... .......... .......... 47% 69.8M 0s 200K .......... .......... .......... .......... .......... 59% 2.13M 0s 250K .......... .......... .......... .......... .......... 70% 279M 0s 300K .......... .......... .......... .......... .......... 82% 83.8M 0s 350K .......... .......... .......... .......... .......... 94% 377M 0s 400K .......... .......... ... 100% 335M=0.09s 2017-04-13 07:27:06 (4.37 MB/s) - 'xf86-video-savage-2.3.9.tar.bz2' saved [433686/433686] Building target platforms: i686-linux Wrote: /home/users/builder/rpm/SRPMS/xorg-driver-video-savage-2.3.9-1.src.rpm exit status 0 Tagging with prefix: auto/ti/ HEAD is now at 82216f5... - updated to 2.3.9 - removed obsolete xserver-1.19 patch fatal: HEAD does not point to a branch Writing git revision for tag auto/ti/xorg-driver-video-savage-2.3.9-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.98291 + umask 022 + cd /home/users/builder/rpm/BUILD + rm -rf xf86-video-savage-2.3.9 Begin-TLD-Builder-Info Build-Time: user:0.55s sys:0.15s real:1.80s (faults io:0 non-io:91476) Files queued for ftp: 440497 xorg-driver-video-savage-2.3.9-1.src.rpm 202 xorg-driver-video-savage-2.3.9-1.src.rpm.uploadinfo End-TLD-Builder-Info