AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Name the repository in Gitkraken the exact same name as your existing folder.choose the "Init" option and select create repository in your folders parent directory.If you've already got some project that has no version control, the easiest way is to: Initializing a existing project into a remote repository The both are connected and you can easily interact with local and remote from there. It will then also create a local repository for you. Chose remote when you init the repo, and it will create the remote repository for you wherever you pick (GitHub, Bitbucket, etc.). Generally it's easiest to create the repository at the beginning of your project. So what is the best workflow for creating a local and an associated remote for a project being newly incorporated into Git version control? 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. 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. At the same time, I want to create a remote repository on, properly connected so that the "push" and "pull" buttons work.Ĭreating the local was easy enough, but "add remote" got me a strange error message, "no match".I want to create a local repository for it, in the directory I'm already using. I have a programming project that has never before had a repository.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:
0 Comments
Read More
Leave a Reply. |