# Git Bitbucket Help

**URL:** <https://forum.itvdn.com/t/git-bitbucket-help/3611>\
**Category:** C# / .NET Developer\
**Created:** [27.12.2020 19:22:55 UTC](https://forum.itvdn.com/t/git-bitbucket-help/3611 "2020-12-27T19:22:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![StivenDiplet](https://forum.itvdn.com/user_avatar/forum.itvdn.com/stivendiplet/32/401_2.png) [@StivenDiplet](https://forum.itvdn.com/u/StivenDiplet)\
**Post date:** [27.12.2020 19:22:55 UTC](https://forum.itvdn.com/t/git-bitbucket-help/3611/1 "2020-12-27T19:22:55Z")

</div>

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags --set-upstream SnakeConsoleGame master:master  
Pushing to [bitbucket.org](http://bitbucket.org):AskatP/csglesson.git  
To [bitbucket.org](http://bitbucket.org):AskatP/csglesson.git  
! [rejected] master -\> master (non-fast-forward)  
error: failed to push some refs to '[bitbucket.org](http://bitbucket.org):AskatP/csglesson.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.

Выполнено с ошибками, см. выше.

При попытке синхронизировать локальный репозиторий с удаленным на Bitbucket выдает ощибку которую я описал выще. Помогите пожалуйста чо делать. я ток начинаю работать с гит. пытался гуглить но не помогло. очень прошу. работаю с SourceTree

---

<div class="post-metadata">

**Author:** ![dietmar](https://forum.itvdn.com/user_avatar/forum.itvdn.com/dietmar/32/339_2.png) [@dietmar](https://forum.itvdn.com/u/dietmar)\
**Post date:** [29.12.2020 15:35:21 UTC](https://forum.itvdn.com/t/git-bitbucket-help/3611/2 "2020-12-29T15:35:21Z")

</div>

А у вас несколько веток в репозитории?  
Там в ошибке написано что на сервере более новая версия кода и что вам нужно сделать git pull
