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
I typed git remote add origin.... (and my https to the repository)
Then I typed git push -u origin master
I got an error saying rejected. I attach the snapshot.
How can I fix this?
Welcome to Atlassian Community !!
From the error i could see that the remote changes are way forward(means there are already changes pushed to remote and your local is outdated). To fix this you can take a git fetch from remote and then push the code.
I guess this is not allowing with just a fetch command we have to run git pull and then run git push.
You may have to run this command:
git pull origin master --allow-unrelated-histories
Please check this out, let me know any issues.