Select Git | GitHub | Open on GitHub from the main menu. GoLand detects which branch is currently active as well as the latest revision of the file, and opens the GitHub copy of the selected file in the corresponding commit in your web browser. You can jump from GoLand to the GitHub version of a file. You can select the Private option if you do not want to allow public access to your repository for other GitHub users.Ĭlick Share to initiate a new repository and upload project sources to it. Specify the new repository name, the name of the remote, and enter a description of your project. When connection to GitHub has been established, the Share Project on GitHub dialog opens. Specify your access token or request a new one with your login and password. If you have not registered your account in GoLand, the Login to GitHub dialog opens. If you have already registered your GitHub account in GoLand, connection will be established using these credentials. You can add a remote GitHub repository for a project you are developing locally, so that others can view it or contribute to it.įrom the main menu, choose Git | GitHub | Share Project on GitHub. GoLand will automatically set Git root mapping to the project root directory. If you want to create a project based on these sources, click Yes in the confirmation dialog. In the Directory field, enter the path to the folder where your local Git repository will be created. Select a repository from the list of all GitHub projects associated with your account and the organization that your account belongs to. If you have two-factor authentication enabled, you will be asked to enter a code that will be sent to you by SMS or through the mobile application. If you have a token, click Use token, then paste the token in the Token field, and click Log In.Įnter your GitHub credentials in the browser window that opens. ![]() Log in to GitHub by doing one of the following: In the Get from Version Control dialog, choose GitHub on the left. If the Git menu is not available, choose VCS | Get from Version Control. You can clone a repository that you want to contribute to directly from GoLand and create a new project based on it.įrom the main menu, choose Git | Clone.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |