Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Learn TypeScript 3 by Building Web Applications

You're reading from   Learn TypeScript 3 by Building Web Applications Gain a solid understanding of TypeScript, Angular, Vue, React, and NestJS

Arrow left icon
Product type Paperback
Published in Nov 2019
Publisher Packt
ISBN-13 9781789615869
Length 804 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
 Dubois Dubois
Author Profile Icon Dubois
Dubois
 Georges Georges
Author Profile Icon Georges
Georges
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Introduction to TypeScript 2. Building TodoIt - Your Own Web Application with TypeScript FREE CHAPTER 3. Improving TodoIt with Classes and Interfaces 4. Leveraging Generics and Enums 5. Coding WorldExplorer to Explore the Population of the World 6. Introduction to Testing 7. Discovering Angular, Angular Material, and RxJS 8. Rewriting MediaMan Using Angular and Angular Material 9. Introducing Vue.js 10. Creating LyricsFinder with Vue.js 11. Diving into React, NestJS, GraphQL, and Apollo 12. Revisiting LyricsFinder 13. What's Next? 14. Other Books You May Enjoy

Installing and configuring Git

Now let's install Git, a tool that you will actually use for many years to come.

Windows

Here are the steps to follow in order to install Git on Windows:

  1. Go to the official site for Git and download the binaries: https://gitforwindows.org.
  2. Once downloaded, click on Run. Again, make sure that you don't sell your soul, although this time, we're in safer GNU territory:
  1. On the next screen, make sure to add the Windows Explorer integration (Git Bash Here) and to check the Use a TrueType font in all console windows (your eyes will thank us):
  1. Select your text editor of choice (are you a nano or a vim person? That actually says a lot about you!):

On the next screen, decide how you prefer to work. The default is to Use Git from the Windows Command Prompt, which is a safe choice. The last option is interesting for those among you that would want to use the same *nix tools whether you work in Git BASH, cmd, or another shell:

  1. Choose your preferred transport backend for HTTPS. This is usually relevant for enterprises:
  1. When you reach the following screen, read carefully. This is where many hair loss issues begin and end. The last option is recommended (setting core.autocrlf to false):
  1. Click on Next >:
  1. Click on Next >:

There you go! Now you've got access to Git BASH, your new best friend, right next to PowerShell:

Look how beautiful that prompt looks in the following screenshot:

Once again, let's see how this is done with Linux.

Linux (shell)

On Linux, simply fire up your Terminal and use apt-get, pacman, yum, dpkg, portage, and friends to install Git. Here's how simple the installation looks on Ubuntu when running the sudo apt install git command:

Once you have accepted, apt will install everything you need. After that, the git command will be available for use.

Configuring git

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Modal Close icon
Modal Close icon