[...] 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 4b0ff53... - updated to 0.1.1 error: HEAD does not point to a branch fatal: @{u} - not something we can merge Available branches: master --2014-08-09 11:07:03-- http://distfiles.pld-linux.org/distfiles/by-md5/5/6/568712eaa340f18b357d3748300c1795/xcb-util-cursor-0.1.1.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: 280852 (274K) [application/x-bzip2] Saving to: 'xcb-util-cursor-0.1.1.tar.bz2' 0K .......... .......... .......... .......... .......... 18% 552K 0s 50K .......... .......... .......... .......... .......... 36% 418K 0s 100K .......... .......... .......... .......... .......... 54% 553K 0s 150K .......... .......... .......... .......... .......... 72% 555K 0s 200K .......... .......... .......... .......... .......... 91% 823K 0s 250K .......... .......... .... 100% 795K=0.5s 2014-08-09 11:07:04 (569 KB/s) - 'xcb-util-cursor-0.1.1.tar.bz2' saved [280852/280852] Building target platforms: i686-linux Wrote: /home/users/builder/rpm/SRPMS/xcb-util-cursor-0.1.1-1.src.rpm exit status 0 Tagging with prefix: auto/ti/ Version: 0.1.1 Release: 1 tag: auto/ti/xcb-util-cursor-0.1.1-1 Searching for tag auto/ti/xcb-util-cursor-0.1.1-1... Failed to add the host to the list of known hosts (/home/users/builder/.ssh/known_hosts). Everything up-to-date 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.20283 + umask 022 + cd /home/users/builder/rpm/BUILD + rm -rf xcb-util-cursor-0.1.1 Begin-PLD-Builder-Info Build-Time: user:2.34s sys:1.02s real:4.90s (faults io:0 non-io:141374) Files queued for ftp: 286542 xcb-util-cursor-0.1.1-1.src.rpm 193 xcb-util-cursor-0.1.1-1.src.rpm.uploadinfo End-PLD-Builder-Info