filmov
tv
error: failed to push some refs to git repository
![preview_player](https://i.ytimg.com/vi/_liDrVo_M7w/maxresdefault.jpg)
Показать описание
many of students have found the error as:
git push -u origin your_branch_name
error: failed to push some refs to "your git repository link"
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
but the commands to solve the issue is
1. git fetch origin your_branch_name
2. git rebase your_branch_name
output :Current branch your_branch_name is up to date.
3. git push -f -u origin your_branch_name
thanks for watching and checking the description i will be uploading more solution to errors which everyone get and are unable to resolve
git push -u origin your_branch_name
error: failed to push some refs to "your git repository link"
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
but the commands to solve the issue is
1. git fetch origin your_branch_name
2. git rebase your_branch_name
output :Current branch your_branch_name is up to date.
3. git push -f -u origin your_branch_name
thanks for watching and checking the description i will be uploading more solution to errors which everyone get and are unable to resolve