Skip to content

Instantly share code, notes, and snippets.

@eouthwaite
Last active November 28, 2019 09:57
Show Gist options
  • Save eouthwaite/b2e1486a0303b614ad59516ba6b6a2d7 to your computer and use it in GitHub Desktop.
Save eouthwaite/b2e1486a0303b614ad59516ba6b6a2d7 to your computer and use it in GitHub Desktop.
git pull from knackered bitbucket server

Git pull procedure

Assume we're on the develop branch:

git checkout develop

When the bitbucket server keeps disconnecting mid-conversation, use two steps instead of one to pull the latest code:

git fetch origin --prune
git merge --ff-only origin/develop
@eouthwaite
Copy link
Author

Not dissing bitbucket - I've experienced ones that have worked without fault... I've also experienced two separate instances that have had no end of problems (probably maintenance on one and network connectivity for the other)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment