On the Local Changes tab of the Commit tool window Alt+0, you see the list of files that belong to your project. From the Git tool window, you can work with the Git log, manage pull requests from GitHub, and more. The dedicated tool windows for working with Git are now available: Commit ( Control+K or View | Tool Windows | Commit) and Git ( Alt+9 or View | Tool Windows | Git).įrom the Commit tool window Alt+0, you can review the local changes and commit them to the local Git repository. On the toolbar and status bar, the Git-related controls will appear: You will get a notification that the local Git repository has been created for your project. In the Finder window that opens, specify a root folder for the local Git repository. In the dialog that opens, select Git from the list of available version control systems and click OK.Īlternatively, press Alt+` and select Create Git Repository (or press 1). Go to VCS | Enable Version Control Integration. The new project will immediately open in CLion: In the dialog that opens, select the project type (for example, C++ Executable), provide the location path and set the language standard. If you have another project open in CLion at the moment, select File | New Project from the main menu. Launch CLion and click New Project on the Welcome screen. If you want to use an existing project hosted on GitHub, clone it as described in Check out a project from a remote host (git clone). In this tutorial, we will create a simple project, share it on GitHub, and perform some Git tasks described below. You will learn how to create Git repositories from your projects, share them on GitHub, commit and push changes, create and merge branches, investigate the files' history, and more. This tutorial will guide you through the most popular Git operations and show how they can be performed in CLion.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |