Git Deployment Guide (Git 2.13.2)

Robi
2018-06-05 10:37


------------------------------INSTALLATION PHASE------------------------------
Automatic Git Installation
Double click "Git Auto Install.bat"
A checker will run before proceeding with the installation.
If the installation is already done:
The batch file will output "Git already installed!"
Press ENTER to close the Installation Process.
If the Git is not yet installed:
The batch file will output "Installation process ongoing..."
Wait until the batch file automatically closes
Verify if "INSTALLATION COMPLETE!.txt" already exists inside the Git Deployment folder.

Manual Git Installation
GNU General Public License - NEXT
Select Destination Location - C:\Program Files\Git
Select Components - Check: Windows Explorer Integration, Git Bash Here, Git GUI Here, Git LFS, Associate .git*, Associate .sh
Select Start Menu Folder - Git
Adjust your PATH environment - Use Git from the Windows Command Prompt
Choosing HTTPS transport backend - Use the OpenSSL library
Configuring the line ending conversions - Checkout Windows-style, commit Unix-style line endings
Configuring the terminal emulator to use with Git Bash - Use MinTTY
Conifiguring extra options - Check: Enable file system caching, Enable Git Credential Manager, Enable symbolic links

Git Setting up of Credentials (execute this only once during configuration)
git config --global user.name "nelsoft-client"
git config --global user.email nelsoft.systems@gmail.com

Cloning a repository (open bash in desired directory)
git clone https://github.com/nelsoft/nelsoft_inventory.git
git clone https://github.com/nelsoft/nelsoft_pos.git
git clone https://github.com/nelsoft/nelsoft_autosync.git
git clone https://github.com/nelsoft/RestaurantPOS.git

Setting up a gitignore (include the template along with the other files during setup)
Go inside cloned repository
Create a text file with the name gitignore.txt
Open it in a text editor and add your rules, then save and close
Hold SHIFT, right click the folder you're in, then select Open command window here
Then rename the file in the command line with ren gitignore.txt .gitignore

Checking Out a Remote Branch (for clients' specific Git Branches)
git checkout

Failed Git Cloning due to Connectivity Problems
Highlight the repository folder
SHIFT+DELETE
Execute git clone command again
Repeat until successful
------------------------------UPDATING PHASE------------------------------
Updating Client's version via Git Pull (make sure current branch checked out is correct)
git pull

Google Account for nelsoft-client
nelsoft.systems@gmail.com
nelsoft121586

Github Account
nelsoft-client
nelsoft121586

Tags: git, installation, process
Average rating: 0 (0 Votes)

You can comment this FAQ