Difference between revisions of "Using Version Control"

From Lianjapedia
Jump to: navigation, search
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{DISPLAYTITLE:Git Version Control}}
 
Lianja App Builder has integrated Git support for the most common commands. This makes it an excellent choice to manage your code commits while you develop.
 
Lianja App Builder has integrated Git support for the most common commands. This makes it an excellent choice to manage your code commits while you develop.
 +
 +
<div style="height:80px;margin-bottom:5px;padding:5px;border:0px solid orange;border-left:5px solid orange;background:#fff8dc;vertical-align:middle;position:relative;">
 +
[[File:bm-noteicon.png|top|40px|link=]]<div style="position:absolute;top:3px;margin-bottom;bottom:5px;margin-left:50px;"><b> Quick Start Guide</b>
 +
Select the "Apps" or "Library" workspace.<br/>
 +
Right click on a filename and choose a git operation.<br/>
 +
</div>
 +
<span style="height:6px;"> </span>
 +
</div>
 +
 +
[[{{ns:file}}:Git1.png|450px|thumb|left|link={{filepath:Git1.png}}|Git Context Menu]]
  
 
Lianja App Builder will leverage your machine's Git installation, so you need to install Git first before you get these features.
 
Lianja App Builder will leverage your machine's Git installation, so you need to install Git first before you get these features.
  
You can install Git from [https://git-scm.com/download here.]
+
You can install Git from [https://git-scm.com/download git-scm.com].
  
 
Right click on Apps or Library “Files” to display a context menu which includes many common Git commands.
 
Right click on Apps or Library “Files” to display a context menu which includes many common Git commands.
 +
 +
[[{{ns:file}}:Git2.png|450px|thumb|left|link={{filepath:Git2.png}}|Git Console]]
  
 
These are all disabled until you download and install Git from git-scm.com. (Be sure to add the Git directory to your PATH. This is c:\program files\git\bin\" on my windows development machine).
 
These are all disabled until you download and install Git from git-scm.com. (Be sure to add the Git directory to your PATH. This is c:\program files\git\bin\" on my windows development machine).
Line 11: Line 24:
 
I would also recommend you download and install [https://www.sourcetreeapp.com SourceTree] for managing your git repository. You can download this free from sourcetreeapp.com.
 
I would also recommend you download and install [https://www.sourcetreeapp.com SourceTree] for managing your git repository. You can download this free from sourcetreeapp.com.
  
The Git website at [https://www.git-scm.com] includes a complete eBook which explains how git operates and how to use it. Another good resource to help you better understand Git can be found at [https://www.githowto.com].
+
The Git website at [https://www.git-scm.com git-scm.com] includes a complete eBook which explains how git operates and how to use it. Another good resource to help you better understand Git can be found at [https://www.githowto.com githowto.com].
  
 
In Lianja after you “Git Init here” from the files context menu you can perform a variety of git actions by selecting them from the context menu. Alternatively, you can select “Git Gui” from the context menu.
 
In Lianja after you “Git Init here” from the files context menu you can perform a variety of git actions by selecting them from the context menu. Alternatively, you can select “Git Gui” from the context menu.
Line 22: Line 35:
  
 
Git can work very nicely without a remote repository providing file versioning on a single developers PC. This is called “Local” Git.
 
Git can work very nicely without a remote repository providing file versioning on a single developers PC. This is called “Local” Git.
 +
 +
[[Category:Developers Guide]]

Latest revision as of 08:27, 3 December 2017

Lianja App Builder has integrated Git support for the most common commands. This makes it an excellent choice to manage your code commits while you develop.

Bm-noteicon.png
Quick Start Guide

Select the "Apps" or "Library" workspace.
Right click on a filename and choose a git operation.

Git Context Menu

Lianja App Builder will leverage your machine's Git installation, so you need to install Git first before you get these features.

You can install Git from git-scm.com.

Right click on Apps or Library “Files” to display a context menu which includes many common Git commands.

Git Console

These are all disabled until you download and install Git from git-scm.com. (Be sure to add the Git directory to your PATH. This is c:\program files\git\bin\" on my windows development machine).

I would also recommend you download and install SourceTree for managing your git repository. You can download this free from sourcetreeapp.com.

The Git website at git-scm.com includes a complete eBook which explains how git operates and how to use it. Another good resource to help you better understand Git can be found at githowto.com.

In Lianja after you “Git Init here” from the files context menu you can perform a variety of git actions by selecting them from the context menu. Alternatively, you can select “Git Gui” from the context menu.

I recommend you create an account with github.com or use Amazon AWS CodeCommit. Both are a good choice.

The Lianja “Versions” workspace keeps versioned files for all edits you perform. You can restore from a previous version in the “Versions” workspace.

Git is a powerful version control system for Teams and individual developers. Its most powerful feature by far is “Branching” which allows multiple team members to create a new “Branch” of code, work on this and when its ready to be merged with the main codebase, use Git to merge it in and commit the changes to you code repository.

Git can work very nicely without a remote repository providing file versioning on a single developers PC. This is called “Local” Git.