kaylinkhanal / gantabya

3 stars 6 forks source link

GIT Scenarios: #12

Open kaylinkhanal opened 1 year ago

kaylinkhanal commented 1 year ago

-------> 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

kaylinkhanal commented 1 year ago

Screen Shot 2023-04-28 at 08 20 44 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

kaylinkhanal commented 1 year ago

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