4

I am trying to upload a .net project to bitbucket repository. For this I'm using atlassian SourceTree. First when I upload the working directory, it didnot show the dlls in working copy changes or staging changes.

However after changing the global ignore list (tools->options->Git->EditFile), removing the dll entry, it started showing. But the staged changes are not pushing to the repository. It always says up-to-date.

Krishna Sarma
  • 1,852
  • 2
  • 29
  • 52
  • Possible duplicate of [git repository ignoring all .dlls](http://stackoverflow.com/questions/15515729/git-repository-ignoring-all-dlls) – Martin Verjans Dec 05 '16 at 14:55

2 Answers2

12

I just took a stab at this.

I first had to see the dll files in the SourceTree GUI, so I selected the 'Ignored' option from the dropdown on the Commit form.

SourceTree Commit Dropdown

Then I checked each one. As I did, the file was added to the Pending list.

Ignored checkboxes

Paul Roub
  • 36,322
  • 27
  • 84
  • 93
historyguy64
  • 171
  • 1
  • 5
1

Staged changes aren't enough: they need to be committed fist, before being able to be pushed.

Note that dll are ignored by default, because they are supposed to be:

  • generated from the source
  • downloaded from a declaration (like a Nuget file)

, and are not versioned in a source version control system.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250