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
For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!
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