Giter Site home page Giter Site logo

learn_git's Introduction

๐Ÿ“Œ Start with Git and Github

This repo shows how to begin with Git and Github.
Git is a version control system that lets you manage and keep track of your source code history. It is designed to handle everything from small to very large projects with speed and efficiency.
GitHub is a cloud-based hosting service that lets you manage Git repositories. If you have open-source projects that use Git, then GitHub is designed to help you better manage them.

๐Ÿƒโ€โ™‚๏ธ Installing Git

  • First Install git for your OS. Available for Linux/Unix, Windows and Mac.

๐Ÿ›  Configuring Git

  git config --global user.name "user_name"         (your Github account user_name) 
  git config --global user.email "[email protected]"     (your Github account mailId)

๐Ÿ“ Creating a new Repository

  • Create a folder in your system and then initializing it with git.
  • Open git bash or terminal and then move to that folder and type.
  git init 

  • Now your folder is initialized with git.
  • Create a simple file and save it inside that folder.

๐Ÿ Checking status of your repo

  • Open git bash or terminal and then move to that folder and type.
 git status

โž• Add the files

 git add .

or

 git add -A

๐Ÿ”— Commiting the files

 git commit -m "commit message"

๐Ÿ’ซ Connecting it to your repo at Github

  git remote add origin https://github.com/imPGupta/learn_git

๐Ÿ’ฅ Uploading to Github

 git push origin master

Remove Error If Occurs

ยฉ Cloning a Git repo

 git clone https://github.com/imPGupta/learn_git

โ˜ Getting files from a Github repo

git pull origin master

learn_git's People

Contributors

impgupta avatar

Stargazers

 avatar

Watchers

 avatar  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.