Skip to main content
Key2Goal

Main navigation

  • Home
  • About Us
  • Contact us
  • Glossary
  • Privacy Policy
User account menu
  • Log in

Breadcrumb

  1. Home

10 Git Useful Commands for Every Developer

 

Git commands:

1) git init : This command is used to start a new repository

2) git clone : This command is used to obtain a repository from an existing URL

3) git add : This command adds a file to the staging area

4) git commit : This command records or snapshots the file permanently in the version history

5) git push : This command sends the committed changes of master branch to your remote repository.

6) git log: This command is used to list the version history for the current branch

7) git fetch : this command used to download contents from a remote repository

8) git pull : This command fetches and merges changes on the remote server to your working directory

9) git merge : This command merges the specified branch’s history into the current branch.

10) git checkout: This command is used to switch from one branch to another

  • Log in to post comments

Comments

Article category

  • Drupal
  • Wordpress
  • Java
  • Javascipt
  • HTML
  • CSS
  • IOS
  • Android
  • PHP
  • MySQL
  • Other
  • Command line
  • NodeJs
  • Drupal 8
  • Drupal 7
  • GIT
  • DevOps
  • Python
  • Xampp
  • Server
  • Artificial intelligence
  • AppScript
  • Windows

Recent content

  • ERROR: Cannot create symbolic link : A required privilege is not held by the client.
    11 hours 29 minutes ago
  • Differences Between Bootstrap 3 & Bootstrap 4
    1 month ago
  • About Us
    1 month ago
  • Privacy Policy
    1 month ago
  • Create a Virtual Host on Xampp in 5 steps
    3 months ago
  • How to setup Multisite in drupal 9
    9 months ago
  • How to creating a FOR loop and a WHILE loop in JavaScript
    9 months ago
  • Calculator program HTML & PHP
    9 months ago
  • Algothrim to create a web application
    9 months ago
  • 10 Git Useful Commands for Every Developer
    9 months ago
© Copyright 2017 - 2026 key2Goal. All Rights Reserved