Code Monkey home page Code Monkey logo

deepankarvarma / basic-git-commands Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 345 KB

This Git Cheatsheet provides a quick reference for some of the most commonly used Git commands. It covers the essential commands that developers use while working with Git on a daily basis.The Git Cheatsheet is an excellent resource for developers to improve their productivity while working with Git.

git gitcomma github github-commands git-workflow source-code-management version-control

basic-git-commands's Introduction

Cheatsheet

This is a reference list of the most commonly used Git commands. (You might consider bookmarking this handy page). Try to familiarize yourself with the commands so that you can eventually remember them all:



Commands related to a remote repository:
git clone [email protected]:USER-NAME/REPOSITORY-NAME.git
git push or git push origin main (Both accomplish the same goal in this context)

Commands related to the workflow:
git add .
git commit -m "A message describing what you have done to make this snapshot different"

Commands related to checking status or log history
git status
git log

The basic Git syntax is program | action | destination.

For example,
git add . is read as git | add | ., where the period represents everything in the current directory;
git commit -m "message" is read as git | commit -m | "message"; and
git status is read as git | status | (no destination).

basic-git-commands's People

Contributors

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