/Version-Control-with-Git

A fully guided tutorial on version control with Git

Primary LanguageJupyter NotebookApache License 2.0Apache-2.0

Version-Control-with-Git-Tutorial (by Udacity)

A fully guided tutorial on version control with Git

Introduction:

Git is the leading version control tool, and it is essential in every professional programmer's life. Learn how to use Git to track your own changes and collaborate with others.

Installation process of Git:

Follow the steps below:

A. Go to https://git-scm.com/downloads
B. Download Git for your desired OS
C. Install Git by your OS default options

Note: Once you are done with the installation process, you should get the information about Git while running git on the command line

Table of the contents:

Basic Git Commands:

Git configuration:

Run each of the commands below to configure your Git:

A. git config --global user.name "<Full_Name>" # seting up Git with your name

B. git config --global user.email "<your-email-address>" # seting up Git with your email

C. git config --list # showing the list of the configuration 

Code Editor Setup:

Follow the steps below to set up your desired Code Editor:

1. Sublime Text Setup

   A. git config --global core.editor "'/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl' -n -w"

2. Atom Editor Setup

   B. git config --global core.editor "atom --wait"

3. VSCode Setup

   C. git config --global core.editor "code --wait"