Code Monkey home page Code Monkey logo

learn-git-and-github's Introduction

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

learn-git-and-github's People

Contributors

dev-mdirfan avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.