Categories


Popular topics

(Created page with "Category:Project tab <span class="idm-uestudio-only">''This feature is available in [https://www.ultraedit.com/products/uestudio/ UEStudio] only.''</span> Git is a very p...")
 
Line 12: Line 12:
 
==Using Git==
 
==Using Git==
 
[[File:UEStudio_Git_integration_in_Workspace_Manager.png|right]]
 
[[File:UEStudio_Git_integration_in_Workspace_Manager.png|right]]
Once Git is properly configured on your system, you can then begin interacting with repositories and objects through two different methods:
+
Once Git is properly configured on your system, you can then begin interacting with repositories and objects through four different methods:
  
# Browse to a Git repo folder in the "Explorer" tab of the [[File view|Workspace Manager]].
+
# Via the [[#Using the Git sub-menu in the Explorer/Project panes|Git context menu]] for Git repositories in the "Explorer" or "Project" tab of the [[File view|Workspace Manager]].
# Add a Git repo folder to your project and view it in the "Project" tab of the [[File view|Workspace Manager]].
+
# Through the Git commands in the "Version control" group of the [[:Category:Project tab|Project tab]].
 +
# Through the Git [[Branch manager]].
 +
# Through the [[Git shell]].
  
 
In both cases (if Git integration is configured in UEStudio properly) UEStudio will display the repo folder with a special Git icon overlay. If in a project, UEStudio will display the current branch and commits ahead/behind directly beneath the folder name.
 
In both cases (if Git integration is configured in UEStudio properly) UEStudio will display the repo folder with a special Git icon overlay. If in a project, UEStudio will display the current branch and commits ahead/behind directly beneath the folder name.
Line 29: Line 31:
 
** '''Recursive'''<br>This option will clone the repository along with any submodules contained within it.
 
** '''Recursive'''<br>This option will clone the repository along with any submodules contained within it.
  
===Interacting with repositories===
+
===Using the Git sub-menu in the Explorer/Project panes===
 +
The "Git" sub-menu in the context menu of the "Explorer" and "Project" pane of the [[File view|Workspace Manager]] includes the following options.
 +
 
  
 
===Managing branches===
 
===Managing branches===

Revision as of 20:42, 9 October 2017

This feature is available in UEStudio only.

Git is a very popular distributed version control system. UEStudio offers robust Git integration so that you can directly interact with Git repositories from within the application. You can learn more about Git and read over its full documentation at the official Git website.

In order to use Git with UEStudio, you need to have a Git client installed. Git for Windows is recommended.

If you already have Git for Windows installed on your system, then on first run UEStudio will detect this and prompt you to import your Git credentials. Otherwise, you can configure Git in UEStudio's settings.

UEStudio Git autodetection.png

Using Git

right Once Git is properly configured on your system, you can then begin interacting with repositories and objects through four different methods:

  1. Via the Git context menu for Git repositories in the "Explorer" or "Project" tab of the Workspace Manager.
  2. Through the Git commands in the "Version control" group of the Project tab.
  3. Through the Git Branch manager.
  4. Through the Git shell.

In both cases (if Git integration is configured in UEStudio properly) UEStudio will display the repo folder with a special Git icon overlay. If in a project, UEStudio will display the current branch and commits ahead/behind directly beneath the folder name.

Additionally, a special "Git" sub-menu is available in the context menu for files/folders under Git in the "Explorer" and "Project" tabs. This sub-menu contains many commands for interacting with the Git repository.

Creating and cloning repositories

  • To create a new Git repository, right-click on the folder where you want to initialize the repository, and select Git » Create/initialize repository here. The hidden ".git" subfolder will be created, and you can begin adding, staging, and committing files.
  • To clone an existing Git repository, right-click on the folder where you want to clone the repository and select Git » Clone repository... This will open the "Clone repository" dialog where you can enter the full path or the URL (SSH or HTTP[S]) to the repository. This dialog also contains the following options:
    • Branch
      This option allows you to specify which branch to switch to when cloning a repository. If left empty, or if a branch is provided that doesn't exist, this will default to the HEAD branch.
    • Depth
      This option allows you to create a shallow clone where the repository history is truncted to the specified number of revisions. For example, if you enter "2" here, the history for only the last 2 revisions will be available in your locally checked out repository.
    • No checkout
      This option will clone the repository without checking out a branch, essentially creating a disconnected Git branch.
    • Recursive
      This option will clone the repository along with any submodules contained within it.

Using the Git sub-menu in the Explorer/Project panes

The "Git" sub-menu in the context menu of the "Explorer" and "Project" pane of the Workspace Manager includes the following options.


Managing branches

Using the integrated Git shell

Configuring Git

MediaWiki spam blocked by CleanTalk.