[...] 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 0e5ccdd... - autotools BRs error: HEAD does not point to a branch fatal: @{u} - not something we can merge Available branches: master --2014-10-08 08:44:49-- http://distfiles.pld-linux.org/distfiles/by-md5/6/5/650266b18b2516d32a5a0aa8027e06d3/libiscsi-1.10.0.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: 231807 (226K) [application/x-gzip] Saving to: 'libiscsi-1.10.0.tar.gz' 0K .......... .......... .......... .......... .......... 22% 139K 1s 50K .......... .......... .......... .......... .......... 44% 167K 1s 100K .......... .......... .......... .......... .......... 66% 129K 1s 150K .......... .......... .......... .......... .......... 88% 139K 0s 200K .......... .......... ...... 100% 126K=1.6s 2014-10-08 08:44:51 (140 KB/s) - 'libiscsi-1.10.0.tar.gz' saved [231807/231807] warning: Could not canonicalize hostname: giant Building target platforms: i686-linux Wrote: /home/users/builder/rpm/SRPMS/libiscsi-1.10.0-2.src.rpm exit status 0 Tagging with prefix: auto/ti/ HEAD is now at 0e5ccdd... - autotools BRs error: HEAD does not point to a branch fatal: @{u} - not something we can merge Writing git revision for tag auto/ti/libiscsi-1.10.0-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 PATH=/bin:/usr/bin:/usr/sbin:/sbin:/usr/X11R6/bin HOME=/home/users/builder TMPDIR=/home/users/builder/tmp /bin/sh -e /home/users/builder/tmp/rpm-tmp.53368 + umask 022 + cd /home/users/builder/rpm/BUILD + rm -rf libiscsi-1.10.0 Begin-PLD-Builder-Info Build-Time: user:3.18s sys:1.21s real:8.10s (faults io:66 non-io:158627) Files queued for ftp: 236209 libiscsi-1.10.0-2.src.rpm 187 libiscsi-1.10.0-2.src.rpm.uploadinfo End-PLD-Builder-Info