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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

i can't push my commits in bitbucket

Hello everyone,
i have a little trouble when i try to push my commits.
before this problem i push my changes with out problems, but i don't know what happened.
when i try to push my changes, in the options doesn't apear the options in where branch i push my commits.Captura.PNG
Captura2.PNGwhen i see this y try to push by console and it works but, only in one branch, when i try to push in other branch apear de following error:

! [rejected]        
master -> master (non-fast-forward)
error: failed to push some refs to 'https://bitbucket.org/cerevro/demo.git'
hint: Updates were rejected because a pushed branch tip is behind its remote
hint: counterpart. Check out this branch and integrate the remote changes
hint: (e.g. 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.


please somebody help me
thanks a lot

1 answer

0 votes
carlosughini Community Leader Feb 21, 2021

Hi Daniel,

Welcome to the community!

Git works with the concept of local and remote branches. A local branch is a branch that exists in your local version of the git repository. A remote branch is one that exists on the remote location (most repositories usually have a remote called origin). A remote equates roughly to a place where your git repository is hosted (eg. a GitHub/GitLab/BitBucket/self-hosted Git server repository instance).

Remotes are useful to share your work or collaborate on a branch.

“the tip of your current branch is behind its remote counterpart” means that there have been changes on the remote branch that you don’t have locally.

There tend to be 2 types of changes to the remote branch: someone added commits or someone modified the history of the branch.

Please check the information above and let me know if it helps.

Regards,

Carlos

Hello Carlos, 

i search changes in the history and i don't need pull changes.

i search the history of the branch and i don't understand much, but i don't see nothing badCaptura.PNG i don't know if i searched correctly  

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Sourcetree

[dev team] Sourcetree for Windows 2019 Preview - Dark Theme

Hi folks, While the full post is over on our blog I'd like to share the dark theme we've got planned for 2019 here directly as well to keep the discussion going.  The ...

3,723 views 19 19
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you