* Pierre Abbat <
ph...@bezitopo.org>, 2023-04-19 12:16:
>I copied the AFLplusplus repo to another computer, then ran "git pull".
>It told me this:
>
>Your configuration specifies to merge with the ref 'refs/heads/master'
>from the remote, but no such ref was fetched.
This happens because AFLplusplus renamed the default branch from
"master" to "stable" (and lost some commits along the way?!). Git has no
means of propagating this rename, so now all users who cloned the repo
before the switch are on their own.
This should do the trick:
git checkout -t origin/stable
You may want to remove the stale "stable" branch too:
git branch -rd origin/stable
git branch -d stable
Alternatively, you could try the XKCD method:
https://xkcd.com/1597/
--
Jakub Wilk