Index ¦ Archives ¦ Atom > Tag: Git

git init

git init

  • init stands for initialization
  • Directory is a folder used for storing multiple files. It may be text or doc
  • Repository is a directory where Git has been initialised to start version controlling your files

What to do?

  • Create one directory/folder

    mkdir Documents/MyFolder

  • Go into that folder …


Basic commands in git!

Git is distributed version control system. It is useful to work with open source platforms like GitHub, GitBook etc. There are different commands to use it properly. Let’s enlist basic commands:

git init

git remote add origin < remote_repository_url >

git remote -v

git add < file_name >

git status

git pull origin …


How to install git on Fedora!

Installation of git requires following steps:

  • To check whether git has already installed on your system or not.

git --version

  • To install all the packages of git.

sudo dnf install git

  • Start to configure git with your information.

git config --global user.email < your_email > git config --global user.name < your_name …

© Ganesh Hubale. Built using Pelican. Theme by Giulio Fidente on github.