Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,176
Community Members
 
Community Events
184
Community Groups

First time with SourceTree, I could not pull or push

First time using this program, I pulled a project and three days later, I commit my changes and push, but then I get an error that I was told that I did not pulled before committing, so I backed up the project and pulled recent changes than got an error saying there was a file that did not merged, It was .meta file so I was told that can be deleted since its a .meta file and then I get this error.

 

"git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks fetch origin

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks -c lfs.customtransfer.bitbucket-media-api.path=git-lfs-bitbucket-media-api pull origin master
error: You have not concluded your merge (MERGE_HEAD exists).
hint: Please, commit your changes before merging.
fatal: Exiting because of unfinished merge.


Completed with errors, see above."

What do I do? I don't want mess up the project for others.

1 answer

1 accepted

0 votes
Answer accepted
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 08, 2020

Hi @Jonathan_alvarez015,

Welcome to Atlassian Community.

The MERGE_HEAD exists is a special tag Git puts on the repository when you have an ongoing merge. In order to get rid of that tag you have to abort the merge. Run the following from command line:

git merge --abort 

You should now be able to do a pull to bring down any changes from the remote repository and merge those changes before you can push anything back the remote.

Like Mikael Sandberg likes this

Hi @Mikael Sandberg

Thank you for the welcome, your answer has really helped a lot. I learned my mistake that I must make sure I pulled before I push any new changes.

Like Mikael Sandberg likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events