I am totally exhausted with this issue. I have tried everything I can think of.
Ok, in Sourcetree, the little window, in the "New" drop-down, I clicked the "Create Local Repository" and selected "Also create remote repository" and follow the instruction to create the remote repo. Easy!
If I add a new file to the repo, I can see right away in Sourcetree and I am able to commit and push.
But if I add a project that has many files and directories in it, Sourcetree will do nothing. If I try to `git add .` in the terminal, it starts giving hints about creating a submodule and I don't want to do that.
All I want is to create a repo and add a bunch of files and directories in that repo.
What am I doing wrong? Any help?
What version of Sourcetree and on what platform are you trying this?
Are you trying to add directories which are already tracked in a different repository?
Sourcetree 2.7, macOS High Sierra v.10.13
No, I was working on this project locally and want to add it to a repo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you ever create a local repo when you started working on the project?
Can you check if there is a .git folder inside the directory you are trying to add?
If not, can you send a screenshot of what you see in Sourcetree when you add the new files and folders?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What are you referring to when you say "push limit"? Number of files? Number of pushes per minute?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, not that I know of. But how many are you trying?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, it was a .git tracking file. Already pushed everything to repo. Never thought about it. Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm glad you figured out.
However, the next time you don't have to delete all of this. You can just add your local repo to the repository browser and from the repo window, add a remote to it. That way, everything is exactly the way you wanted in your project.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.