[...] 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 HEAD is now at 1c3b25a - added bootstrap bcond fatal: HEAD does not point to a branch sh: php-config: not found No conditional flags passed from available: --with : bootstrap --without: Available branches: master Searching for tag auto/ti/php-pear-1.4-2... Searching for tag auto/ti/php-pear-1_4-2... sh: php-config: not found Building target platforms: i686-linux Wrote: /home/users/builder/rpm/SRPMS/php-pear-1.4-2.src.rpm exit status 0 Tagging with prefix: auto/ti/ HEAD is now at 1c3b25a - added bootstrap bcond fatal: HEAD does not point to a branch sh: php-config: not found No conditional flags passed from available: --with : bootstrap --without: Writing git revision for tag auto/ti/php-pear-1.4-2 On detached HEAD. Use -r BRANCHNAME to override error: Macro %_builddir has empty body error: Macro %_builddir has empty body sh: php-config: not found 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.75277 + umask 022 + cd /home/users/builder/rpm/BUILD + rm -rf php-pear-1.4 Begin-TLD-Builder-Info Build-Time: user:0.55s sys:0.09s real:58.17s (faults io:0 non-io:272788) Files queued for ftp: 11821 php-pear-1.4-2.src.rpm 184 php-pear-1.4-2.src.rpm.uploadinfo End-TLD-Builder-Info