[...] 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 fd3ce0c... - updated to 1.4.7 - 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-tdfx-1.4.7-1... Searching for tag auto/ti/xorg-driver-video-tdfx-1_4_7-1... --2018-03-15 09:19:56-- http://distfiles.pld-linux.org/distfiles/by-md5/a/7/a7ba739c9e22ee6071750306cbac0b72/xf86-video-tdfx-1.4.7.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: 372249 (364K) [application/x-bzip2] Saving to: 'xf86-video-tdfx-1.4.7.tar.bz2' 0K .......... .......... .......... .......... .......... 13% 1.23M 0s 50K .......... .......... .......... .......... .......... 27% 2.42M 0s 100K .......... .......... .......... .......... .......... 41% 164M 0s 150K .......... .......... .......... .......... .......... 55% 64.4M 0s 200K .......... .......... .......... .......... .......... 68% 2.52M 0s 250K .......... .......... .......... .......... .......... 82% 96.9M 0s 300K .......... .......... .......... .......... .......... 96% 87.7M 0s 350K .......... ... 100% 138M=0.08s 2018-03-15 09:19:56 (4.35 MB/s) - 'xf86-video-tdfx-1.4.7.tar.bz2' saved [372249/372249] Building target platforms: i686-linux Wrote: /home/users/builder/rpm/SRPMS/xorg-driver-video-tdfx-1.4.7-1.src.rpm exit status 0 Tagging with prefix: auto/ti/ HEAD is now at fd3ce0c... - updated to 1.4.7 - removed obsolete xserver-1.19 patch fatal: HEAD does not point to a branch Writing git revision for tag auto/ti/xorg-driver-video-tdfx-1.4.7-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.53216 + umask 022 + cd /home/users/builder/rpm/BUILD + rm -rf xf86-video-tdfx-1.4.7 Begin-TLD-Builder-Info Build-Time: user:0.52s sys:0.11s real:2.05s (faults io:0 non-io:91864) Files queued for ftp: 377806 xorg-driver-video-tdfx-1.4.7-1.src.rpm 200 xorg-driver-video-tdfx-1.4.7-1.src.rpm.uploadinfo End-TLD-Builder-Info