Skip to main content


Hello !Friendica Support
it seems I was able to upgrade using #git, but now when I do a pull I get this:
You are not currently on a branch.
Please specify which branch you want to rebase against.
See git-pull(1) for details.

    git pull <remote> <branch>


Can anyone help me to fix this?
tried few things, one was git pull origin 2021.07, another was git checkout 2021.07 and few more.

On the other server I just did this and have the same problems:
git fetch
cd addon
http git fetch
git checkout 2021.07
cd ..
git checkout 2021.07


and then this:
#!/bin/bash
echo=$(command -v echo)
git=$(command -v git)
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
http_path="$SCRIPTPATH/../"

"$echo" "cd http_path"
cd $http_path

"$echo" "git pull"
"$git" pull

"$echo" "bin/composer.phar install --no-dev"
bin/composer.phar install --no-dev

"$echo" "cd addon"
cd addon

"$echo" "git pull"
"$git" pull
@Hans Wolters I was on RC already, so it was just switching from RC to stable with no changes.
@Hans Wolters usual daily backup, but there is no files I would need, it's just some git command I need to run to fix this. Don't you thing so?

Backup ran an hour ago.
@Steffen K9 🐰 ah, so the 2021.07 is the wrong branch.... Right. My mistake.

But still on /friendica the version is correctly showing 2021.07.