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
Community showcase
Published Mar 14, 2019 in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

302 views 0 12
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