🤓
Thomas lab
Git&Github
Git&Github
  • Fetching & Pulling
  • Git alias
  • Git & Github : What is in .git ?
  • Git Rebase
  • Git reflog
  • Git Stash
  • Git tags
  • Git Workflow(Collaboration)
  • Quick High-Level
  • Git diff
  • Git installer
  • Reset & Revert commit
  • Github Collaborators
  • Github Basics
  • Introducing Git
  • Merging Branch
  • How to use multiple account
Powered by GitBook
On this page
  • How to use git ?
  • PROS AND CONS GUI Clients
  • GUI'S
  • The command line
  • Install GIT
  • Configuring Git

Git installer

PreviousGit diffNextReset & Revert commit

Last updated 8 months ago

How to use git ?

Git is primarily a terminal tools . Git was created as command line tools . To use it , we run various commands in Unix shell . This is not the most user friendly experience , but it's at the very core of git .

The Rise of GUI's

Over the last few years , companies have created graphical user interfaces for Git that allow people to use Git without having to be commond-line expert

List GUI's GIT :

  • Github desktop

  • Source Tree

  • Tower

  • GitKraken

  • Ungit

PROS AND CONS GUI Clients

GUI'S

PROS :

  • Way lower barrier of entry for beginer compared to the cmd

  • Friendly to use . Can be a much better experience (when it works)

  • Some people perfer the visual experience , even those who can use the command-line

Cons :

  • At times , there is lot of "magic" involved . The inner-working cá»§a git are obfuscated and hidden away with GUI's

  • Ofter leads to dependance on a particular piece of software

  • When things go seriously wrong ,it can be very challenging to to fix without command0-line

  • The interfaces, buttons, and menus vary between different GUI's

The command line

PROS :

  • Git is a command-line tool. All the documentation and resource online will refer to the command-line .

  • The command-line can be way faster once you get comfortable with it .

  • Some of the more advanced git features are only on the command-line .

  • The commands are always the same , no matter what machine you are on !

CONS :

  • Not beginner-friendly . At All can be difficlut to learn annd remember the commands at first

  • Even for some practiced user , the command-line interface iss just not a good experience . It's really a matter of perferrence .

Install GIT

Mac Install

git --version

Windows

search for google git and dowload it then open file .exe

Linux

sudo dnf install git-all

Configuring Git

At first time , you must provide your name and your email .

How to configuring git

provide your name for git

git config --global user.name "Your name"

provide your email for git

git config --global user.email "Your email"