Commit is OK but Pull don´t

Hello, I'm newbie using git but I think it is awesome. I've been working with Git a couple of months ago without issues. Right now, I don't know what I did wrong and I need help trying to find out how can I solve it. When I commit my code, everything works well. But, when I do pull, nothing happen. No changes are sent it to my remote repository. No error message appears. I'm using Eclipse with EGit and also SmartGit. Both of them act in same way. Nothing happens.

Regards,

1 answer

0 vote
Timothy Chin Community Champion Dec 13, 2016

Do you mean push or pull

git pull:

Pulling is the automated version of git fetch. It downloads a branch from a remote repository, then immediately merges it into the current branch. This is the Git equivalent of svn update

git push:

Pushing is the opposite of fetching (with a few caveats). It lets you move a local branch to another repository, which serves as a convenient way to publish contributions. This is like svn commit, but it sends a series of commits instead of a single changeset.

Hello Timothy: Thank you for your answer. I'm talking about Git Push. Basically, after committing code changes to my local repository, I have an error when I push my code to my Bitbucket remote repository.

What does that error message say?

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

709 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot