Open kaylinkhanal opened 1 year ago
if you get this issue:
if you want the existing code: create a branch and ACP
if you dont want any changes: git stash git reset --hard
hint: Updates were rejected because a pushed branch tip is behind its remote
hint: counterpart. Check out this branch and integrate the remote changes
hint: (e.g. 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
git pull origin yourcurrentbranch
-------> What if you don't get all the branches after running git branch command? -------> pathspec 'develop' did not match any file known to git enter this command:
git fetch