Error:-
You are not currently on a branch.Please specify which branch you want to rebase against.See git-pull(1) for details
Solution :-
git status
git branch main
git branch checkout main
git pull origin main
You are not currently on a branch.Please specify which branch you want to rebase against.See git-pull(1) for details
git status
git branch main
git branch checkout main
git pull origin main