[...] 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 348d3f3... - x32 rebuild - release 2 (by relup.sh) fatal: HEAD does not point to a branch Available branches: master --2015-07-08 15:35:19-- http://distfiles.pld-linux.org/distfiles/by-md5/6/6/66e634aff37dbc6d7204570df041152f/pcmanfm-1.2.1.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: 404472 (395K) [application/octet-stream] Saving to: 'pcmanfm-1.2.1.tar.xz' 0K .......... .......... .......... .......... .......... 12% 821K 0s 50K .......... .......... .......... .......... .......... 25% 1.53M 0s 100K .......... .......... .......... .......... .......... 37% 1.56M 0s 150K .......... .......... .......... .......... .......... 50% 1.68M 0s 200K .......... .......... .......... .......... .......... 63% 11.5M 0s 250K .......... .......... .......... .......... .......... 75% 1.79M 0s 300K .......... .......... .......... .......... .......... 88% 11.5M 0s 350K .......... .......... .......... .......... .... 100% 11.6M=0.2s 2015-07-08 15:35:19 (2.00 MB/s) - 'pcmanfm-1.2.1.tar.xz' saved [404472/404472] warning: Could not canonicalize hostname: giant Building target platforms: i686-linux Wrote: /home/users/builder/rpm/SRPMS/pcmanfm-1.2.1-2.src.rpm exit status 0 Tagging with prefix: auto/ti/ HEAD is now at 348d3f3... - x32 rebuild - release 2 (by relup.sh) fatal: HEAD does not point to a branch Writing git revision for tag auto/ti/pcmanfm-1.2.1-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.43095 + umask 022 + cd /home/users/builder/rpm/BUILD + rm -rf pcmanfm-1.2.1 Begin-PLD-Builder-Info Build-Time: user:3.00s sys:1.50s real:10.25s (faults io:0 non-io:206220) Files queued for ftp: 410838 pcmanfm-1.2.1-2.src.rpm 185 pcmanfm-1.2.1-2.src.rpm.uploadinfo End-PLD-Builder-Info