Jan-26-2018, 08:27 PM
(Jan-26-2018, 06:52 PM)Mekire Wrote: The first thing that strikes me is, why do you have folders called dev and working.
This seems like this should be handled with repo branches. In general git workflow you have a master branch. Then you create a branch called dev; work in that branch; and then merge that with master when it is ready.
Of course in small projects people might not bother with this and push directly to master but that isn't ideal methodology.
I just checked out to a dev branch, and then a working branch, and tried to redistribute my folders and files among them, and had nothing but frustration and failure.
So I tried deleting my local repo and recreating it from scratch with the folders and files properly distributed to the two branches (with only the readme and license in the root of the master branch), and again had nothing but frustration and failure.
Then I deleted the repo folder again and inadvertently initialized a repo in its parent folder, which is my user home folder. I deleted the .git subfolder right away before mkdir repo folder, cd to it, and running git init, configuring, and pulling the remote into it, but there's something weird going on.
It's gotten to the point that I'm going to delete the remote repo, back up my date, and reinstall my operating system just to get rid of any clutter created by git. And think twice about using git again.