Skip to content

This is repository helps you to refer the command lines of git and some tutorial, go check out.

Notifications You must be signed in to change notification settings

dev-mdirfan/Learn-Git-and-GitHub

Repository files navigation

Learn Git and GitHub

visitors

  • Imagine that you have an application or project folder and you want to collaborate with other people on that project.
  • Imagine that you have an application and you added new feature to it, now your application break or not running, then you want go back previous version of that application.

Basic Terminologies :-

Some Basic Terminologies that you should known before going to use Git & GitHub.

1. What is Git ?

  • Git is version control system which allows us to maintain the History of projects.
  • At what particular of time which person made which change where in the project.

2. What is GitHub ?

  • It is a platform or an online website that allows us to host our git repositories (folder) or our project so that other people around the world can share, look, contribute.
  • Other platform like - Bitbucket, GitLab.
  • It is interface, where other can see all your work.

3. What is Repository ?

  • It is just a folder, where all changes are saved.

4. Use Cases -

  1. You want to collaborate with other people.
  2. Want to go previous versions of your projects (basically saving the history of your projects).
  3. You want to contribute in open source or in one project.
  4. To share your code in open source, at what particular of time which person made which change made where in the project.
  5. Why we are using this, Maintaining the history of Project, Which person made which change in which project and when, sharing code around the world.

5. What is Terminal ?

  • Terminal allows us to manipulate the folder structure using command.

Install:-

  • Download Git and then Install.
  • Auto complete the commands : Download fish shell
  • Open Git Bash command line interface or other terminal like - cmd, powershell.

Table of Contents

  1. Basic Command Lines : Create, list, Delete.
  2. Set Configuration : UserName, Email.
  3. Git Commands : init, status, commit, log.
  4. Branch Concept : branch, checkout.
  5. Working on Github :
  6. Fork Repository :
  7. Squashing Commit
  8. Merge Conflict
  9. Cheat sheet by Github pdf 1
  10. Cheat sheet by Github pdf 2
  11. Cheat sheet by Git Lab pdf

Reference

About

This is repository helps you to refer the command lines of git and some tutorial, go check out.

Topics

Resources

Stars

Watchers

Forks