Difference between revisions of "Git/C2/Overview-and-Installation-of-git/English"
(Created page with "'''Title of script:''' '''Overview and Installation of Git''' '''Author:''' Priya K '''Keywords: Version control system, Git''',''' Snapshot''',''' Installation''', '''Clien...") |
Nancyvarkey (Talk | contribs) |
||
Line 25: | Line 25: | ||
* '''Git''' | * '''Git''' | ||
* Installation of '''Git '''on''' Ubuntu Linux''' and''' Windows''' operating systems | * Installation of '''Git '''on''' Ubuntu Linux''' and''' Windows''' operating systems | ||
− | |||
− | |||
| style="border:1pt solid #000000;padding:0.097cm;"| In this tutorial, we will learn about | | style="border:1pt solid #000000;padding:0.097cm;"| In this tutorial, we will learn about | ||
Line 32: | Line 30: | ||
* '''Git''' and | * '''Git''' and | ||
* Installation of '''Git '''on''' Ubuntu Linux''' and''' Windows''' operating systems. | * Installation of '''Git '''on''' Ubuntu Linux''' and''' Windows''' operating systems. | ||
− | |||
− | |||
|- | |- | ||
Line 44: | Line 40: | ||
* Working Internet connection | * Working Internet connection | ||
* Ubuntu or Windows operating system | * Ubuntu or Windows operating system | ||
− | |||
− | |||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| For this tutorial, you will need a working '''Internet '''connection. | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| For this tutorial, you will need a working '''Internet '''connection. | ||
− | You should also have either | + | You should also have either |
− | + | ||
* '''Ubuntu Linux''' or''' ''' | * '''Ubuntu Linux''' or''' ''' | ||
* '''Windows''' Operating System. | * '''Windows''' Operating System. | ||
− | |||
− | |||
|- | |- | ||
Line 62: | Line 53: | ||
You should be familiar | You should be familiar | ||
− | |||
* with either of the mentioned operating systems | * with either of the mentioned operating systems | ||
− | |||
| style="border:1pt solid #000000;padding:0.097cm;"| To follow this tutorial you should | | style="border:1pt solid #000000;padding:0.097cm;"| To follow this tutorial you should | ||
− | |||
− | |||
* be familiar with either of the mentioned operating systems | * be familiar with either of the mentioned operating systems | ||
− | |||
− | |||
|- | |- | ||
Line 77: | Line 62: | ||
Version Control System (VCS) | Version Control System (VCS) | ||
− | |||
* Backup system that manages changes to documents, computer programs, etc. | * Backup system that manages changes to documents, computer programs, etc. | ||
* Provides a historical record | * Provides a historical record | ||
* VCS is also known as '''revision control, source control '''and''' SCM''' | * VCS is also known as '''revision control, source control '''and''' SCM''' | ||
* Examples: RCS, Subversion, Bazaar | * Examples: RCS, Subversion, Bazaar | ||
− | |||
| style="border:1pt solid #000000;padding:0.097cm;"| First let us learn what is '''VCS '''i.e '''Version Control System'''. | | style="border:1pt solid #000000;padding:0.097cm;"| First let us learn what is '''VCS '''i.e '''Version Control System'''. | ||
− | |||
* '''Version Control System''' is like a backup system. | * '''Version Control System''' is like a backup system. | ||
Line 92: | Line 74: | ||
* '''VCS''' is also known as '''revision control''', '''source control''' and '''Source Code Management (SCM''' ). | * '''VCS''' is also known as '''revision control''', '''source control''' and '''Source Code Management (SCM''' ). | ||
* Some examples of '''VCS''' are '''RCS''', '''Subversion''' and '''Bazaar.''' | * Some examples of '''VCS''' are '''RCS''', '''Subversion''' and '''Bazaar.''' | ||
− | |||
− | |||
|- | |- | ||
Line 103: | Line 83: | ||
Introduction to Git | Introduction to Git | ||
− | |||
* A distributed version control software | * A distributed version control software | ||
Line 112: | Line 91: | ||
* Helps in tracking the project progress history | * Helps in tracking the project progress history | ||
− | + | | style="border:1pt solid #000000;padding:0.097cm;"| | |
− | | style="border:1pt solid #000000;padding:0.097cm;"| * Git is a distributed version control software. | + | * Git is a distributed version control software. |
* It is a free and open source software. | * It is a free and open source software. | ||
* It keeps track of changes made to a file or set of files. | * It keeps track of changes made to a file or set of files. | ||
Line 119: | Line 98: | ||
* It manages and stores versions of projects. | * It manages and stores versions of projects. | ||
* It helps in tracking the project progress history. | * It helps in tracking the project progress history. | ||
− | |||
− | |||
|- | |- | ||
Line 126: | Line 103: | ||
Salient features of '''Git''' : | Salient features of '''Git''' : | ||
− | |||
* Go back and recover previous versions of our work | * Go back and recover previous versions of our work | ||
* See''' '''the complete history of changes | * See''' '''the complete history of changes | ||
* Conflicts can be easily resolved using suggestions | * Conflicts can be easily resolved using suggestions | ||
* Any loss of data can be restored from any of the''' client repositories.''' | * Any loss of data can be restored from any of the''' client repositories.''' | ||
− | |||
| style="border:1pt solid #000000;padding:0.097cm;"| The salient features of '''Git''' are as follows: | | style="border:1pt solid #000000;padding:0.097cm;"| The salient features of '''Git''' are as follows: | ||
− | |||
− | |||
* We can go back and recover previous versions of our work. | * We can go back and recover previous versions of our work. | ||
* We can see the complete history of all the changes. | * We can see the complete history of all the changes. | ||
* Conflicts can be easily resolved using the''' '''suggestions given by '''Git'''. | * Conflicts can be easily resolved using the''' '''suggestions given by '''Git'''. | ||
* If there is loss of data, it can be restored from any of the''' client repositories.''' | * If there is loss of data, it can be restored from any of the''' client repositories.''' | ||
− | |||
− | |||
|- | |- | ||
Line 149: | Line 120: | ||
* Programmers, Web developers, Project managers, writers and many others. | * Programmers, Web developers, Project managers, writers and many others. | ||
− | |||
* Anyone working with text files, sheets, design files, drawings to track versions. | * Anyone working with text files, sheets, design files, drawings to track versions. | ||
* People who work collaboratively on an activity or project. | * People who work collaboratively on an activity or project. | ||
Line 158: | Line 128: | ||
* Programmers, Web developers, Project managers, writers and many others. | * Programmers, Web developers, Project managers, writers and many others. | ||
− | |||
* Anyone working with text files, sheets, design files, drawings, etc., to track versions. | * Anyone working with text files, sheets, design files, drawings, etc., to track versions. | ||
* People who work collaboratively on an activity or project. | * People who work collaboratively on an activity or project. | ||
− | |||
− | |||
|- | |- | ||
Line 174: | Line 141: | ||
− | | style="border:1pt solid #000000;padding:0.097cm;"| Now lets see how Git works | + | | style="border:1pt solid #000000;padding:0.097cm;"| Now lets see how Git works. |
* Git actually stores a '''snapshot''' of entire project. | * Git actually stores a '''snapshot''' of entire project. | ||
Line 181: | Line 148: | ||
* It links them to the previous version. | * It links them to the previous version. | ||
* In the event of failure, the data is restored from the''' snapshot'''. | * In the event of failure, the data is restored from the''' snapshot'''. | ||
− | |||
− | |||
|- | |- | ||
Line 191: | Line 156: | ||
* '''Git''' can be installed on''' Ubuntu Linux''' using''' Ubuntu Software Center''' | * '''Git''' can be installed on''' Ubuntu Linux''' using''' Ubuntu Software Center''' | ||
* For more details on''' Ubuntu Software Center,''' refer to the''' Linux''' tutorials on''' http://spoken-tutorial.org''' | * For more details on''' Ubuntu Software Center,''' refer to the''' Linux''' tutorials on''' http://spoken-tutorial.org''' | ||
− | |||
| style="border:1pt solid #000000;padding:0.097cm;"| '''Git''' can be installed on''' Ubuntu Linux''' using''' Ubuntu Software Center'''. | | style="border:1pt solid #000000;padding:0.097cm;"| '''Git''' can be installed on''' Ubuntu Linux''' using''' Ubuntu Software Center'''. |
Revision as of 16:41, 30 April 2015
Title of script: Overview and Installation of Git
Author: Priya K
Keywords: Version control system, Git, Snapshot, Installation, Client repositories, Video tutorial
|
|
Slide1: Overview and Installation of Git | Welcome to the spoken tutorial on Overview and Installation of Git. |
Slide 2:
Learning Objectives In this tutorial, we will learn
|
In this tutorial, we will learn about
|
Slide 3:
System requirement For this tutorial, You should have a
|
For this tutorial, you will need a working Internet connection.
|
Slide 4:
Pre-requisites You should be familiar
|
To follow this tutorial you should
|
Slide 5:
Version Control System (VCS)
|
First let us learn what is VCS i.e Version Control System.
|
Next let us start with Git. | |
Slide 6:
Introduction to Git
|
|
Slide 7:
Salient features of Git :
|
The salient features of Git are as follows:
|
Slide 8:
Who can use Git?
|
Git can be used by
|
Slide 9:
How Git works?
|
Now lets see how Git works.
|
Slide 10:
Installation of Git
|
Git can be installed on Ubuntu Linux using Ubuntu Software Center.
|
Go to terminal and type git --version | I have already completed the installation of Git on my system.
git space hyphen hyphen version and press Enter. |
In the terminal, highlight the version number. | We can see the version number of Git displayed.
<<PAUSE>> |
Installation for Windows OS | Next, let us learn to install Git on Windows OS. |
Go to http://git-scm.com/ | Open your web browser and go to www.git-scm.com
|
Click on Windows icon | Click on Windows icon to download Git for Windows. |
Click on Save File | The Save As dialog box appears.
Click on Save File button. |
Open Downloads folder
|
The installer file will be downloaded in the default Downloads folder. |
Double-click on the exe file | Double-click on the exe file to install Git. |
Click on Run >> Click on Yes | In the dialog box that appears, click on Run and then on Yes. |
Click on Next >> Next | Now, click on Next.
|
Click on Next
|
By default, Git is installed in Programs files.
|
Check the Additional icons option
|
We can select the components to install.
|
Select Use Git Bash only >> Next | Here you can select the option to run the Git commands.
|
Click on Next >> Next | I keep this option as default and click on Next.
|
Point to the dialog box | Git is installing. This may take few minutes depending on your internet speed. |
Click on Finish | Click on Finish button to complete the installation.
Let me close it. |
Point to the short cut icon Git Bash >> Don’t click just point | You will see a short- cut icon Git Bash created on the Desktop.
|
Click on Start menu >> All programs >> Inkscape | Alternately, you can click on Start menu, All programs, Git and then click on Git Bash.
|
Highlight the Git version number | It shows the installed version number of Git.
|
With this, we come to the end of this tutorial. | |
Slide 11:
Summary
|
Let us summarize.
|
Slide 12:
Acknowledgement
|
The video at the following link summarises the Spoken Tutorial project.
|
Slide 13:
Spoken Tutorial Workshops The Spoken Tutorial Project Team
|
The Spoken Tutorial Project Team conducts workshops and gives certificates to those who pass online tests.
|
Slide 14:
Acknowledgement
|
Spoken Tutorial Project is funded by NMEICT, MHRD, Government of India.
|
This is Priya from IIT Bombay. Thanks for joining. |