I'm a new user of Gitkraken, and there's one piece of the workflow that I can't readily figure out from the documentation:
- I have a programming project that has never before had a repository
- I want to create a local repository for it, in the directory I'm already using
- At the same time, I want to create a remote repository on Bitbucket.org, properly connected so that the "push" and "pull" buttons work.
Creating the local was easy enough, but "add remote" got me a strange error message, "no match". I don't understand this "add remote" command very well: can it CREATE a repository on the remote site, or does it merely ATTACH to one that must already be there? I overcame this error by creating it via browser and using "git add remote" at the terminal, but that's clunky and I'd like to do better.
I also tried to do this by using the Gitkraken File > Init command with the "also clone" checkbox checked, but this got me the error message, "the directory already exists and it isn't empty." No, Gitkraken, you got this wrong! I didn't want to CLONE the new (empty) remote repository into something local, I wanted to COPY my new local repository into it. Reverse operation!
So what is the best workflow for creating a local and an associated remote for a project being newly incorporated into Git version control?