Readytocode
  • Home
  • Laravel
  • PHP
  • React Js
  • Git
  • Server
Facebook X (Twitter) Instagram
Readytocode
  • Home
  • Laravel
  • PHP
  • React Js
  • Git
  • Server
Facebook X (Twitter) Instagram Pinterest LinkedIn Reddit
Readytocode
You are at:Home Some Popular Git Command

Git

Some Popular Git Command

JustinBy JustinApril 27, 2022Updated:April 27, 2022No Comments1 Min Read
Facebook Twitter Pinterest LinkedIn Tumblr Email




Hello Developers , Today i will guide about GitHub. I will list some popular command which are generally used.

Git Commands

CommandDescription
git initInitialize Git
git clone ssh://[email protected]/[username]/[repository-name].gitClone/Copy remote repository
git statusCheck Status it will also show what file and changes
git add [file-name.txt]Add file to repository
git add -AAdd all new and changed files to the staging area
git commit -m “[commit message]”Commit to repository
git rm -r [file-name.txt]Remove a file (or folder)
git push origin [branch name]Push a branch to your remote repository
git pullUpdate local repository to the newest commit
git logView changes
git log –summaryView changes (detailed)
git diff [source branch] [target branch]Preview changes before merging

 

This will helps you when we will deployed our project to AWS from Github. This is just a brief about git command. I will explain when we will work on next post.

Thanks.

Happy Coding.

 

 

Total
0
Shares
Share 0
Tweet 0
Pin it 0
Share 0

Like this:

Like Loading...

Related

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
Justin
  • Website

Related Posts

Difference Between Git and GitHub

August 21, 2022

Installing Git on Linux

August 21, 2022

How to create first Git Repository

August 15, 2022

Leave A Reply Cancel Reply

Featured Posts
  • Why meta tag is important for seo 1
    How to change react Page title, Page Description and some other meta Tag
    • August 4, 2023
  • 2
    How to Generate image from text with Laravel 10
    • May 16, 2023
  • Laravel 10 Restrict User Access 3
    Laravel 10 Restrict User Access
    • May 3, 2023
  • Laravel 10 Pagination Example 4
    Laravel 10 Pagination Example
    • May 3, 2023
  • install Steam on Ubuntu 5
    How to install Steam on Ubuntu 22.04 step by step
    • April 20, 2023



Readytocode
Facebook X (Twitter) Instagram Pinterest
  • About Us
  • Privacy Policy
© 2025 ReadyToCode.

Type above and press Enter to search. Press Esc to cancel.

%d