You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
While mirroring to an online repository, it asked for an app password, I entered my setting and created an app password and I entered it. It showed the following error.
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'https://N_Sujith@bitbucket.org/n_sujith/git-test.git'
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.
please help me with this...!
Welcome to the community!
I believe the error logs indicate that your local copy of the repositories master branch is being the remote repositories current master branch hence your push was rejected. You need to run git pull first to update your local master branch before pushing your changes.
I hope this helps, please let me know how it goes.