Code pulling correctly?

Hi folks,

I have a semi odd issue. When I click Pull in SourceTree, the CODE itself pulls, but any new packages and classes my other developers pushed don't. For example, a developer had to create a new package for something, pushed that, and when I pulled the code, the code itself in specific classes pulled properly, but that new package is not there in my project. 


I have verified everything on my end as proper. Is this an issue with the developer's end while pushing, or is it a notable issue that has a fix?


Anything is appreciated.

~ Shiv

1 answer

What is a package if not code?

If packages are just a folder structure, Git does not track folders - only files. You cannot commit an empty folder to a Git repository. You must put at least one file inside the folder (maybe just as a temporary placeholder), and commit that.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
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...

1,936 views 1 5
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