I tried creating a repository of all the files I am using in this project.
And for some reason when I added files to my local directory, only some of them were picked up by SourceTree and commited and pushed to Github.
Here is what the local directory looks like (Each folder contains files):
The folders boxed in red are not being seen at all by SourceTree.
Here is what displayed in SourceTree:
As you can see from the screenshot, Only the Vb.net project and the javascript project were picked up by SoruceTree. What do I need to do to pickup those other folders of files?
To view local branches in Sourcetree, click on the Branches tab. To view remote branches, click on the Remotes tab.
Users can navigate to the log/history window by clicking the tick-shaped icon button at the top-left section. Users can also alternatively press Command+1, or navigate it through View > File Status View.
For instance, you can start by creating a project on Github and then connect it to your SourceTree software so that later on, when you update your code or include new code you can upload the data on Github using SourceTree. To start work with SourceTree, create new project on GitHub (click 'Start a Project'.)
I met the same problem, and after trying @khanmizan's method(which didn't work in my case) and searching more in the internet, I got the solution: in stead of using
git add .
I used
git add . -f
The original answer is here: commit a file in bin directory
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With