Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ravi1024/git-learning

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

git-learning

How to setup config

  • Local

    git config user.name <User name>
    git config user.email <User email>
  • Global

    git config --global user.name <User name>
    git config --global user.email <User email>

Working status

git status

How to Clone

git clone https://github.com/himanshunigam-daffodil/git-learning.git

How to view remote list for repository

git remote
git remote --v

How to add file/directory

git add branch.txt
git add branch/

How to view difference

git diff <file-path>

How to commit

git commit -a -m "Commit git branching commands"

How to fetch remote changes

git fetch

How to pull remote changes

  • Pull from remote branch
git pull
  • Pull from remote another branch
git pull <remote-name> <branch-name>

How to push changes

git push <remote-name> <branch-name>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.