Skip to content

krishnadeveloper/git-command

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 

Repository files navigation

git command

Some useful commands which are used most of time

  1. To create a clone from Git http(s) url

git clone https://github.com/krishnadeveloper/git-command.git

  1. Push or commit a perticular file in master origin
git add filename (text.txt)
git commit -m "You comment"
git pish origin master
  1. Push or commit all changes from your system git directory to master origin
git add -A
git commit -m "You comment"
git push origin master
  1. Pull or fetch all changes from master origin to your system git directory
git fetch
git merge
git pull
  1. If you have created another branch and want to use that branch
git clone your_git_repository_url
git checkout -b your_branch_name
git add - A
git commit -m “Your comment”
git push origin your_branch_name

About

required git command to use from command line

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy