Git Pull - Fetch from and integrate with another repository or a local branch | Git Tutorial

Опубликовано: 29 Сентябрь 2024
на канале: Knowledge Thrusters
202
2

In this git tutorial, you will be able to learn about git pull command.
Combination of two commands:
Git merge - Join two or more development histories together
Git fetch - Download objects and refs from another repository.

git pull command
The above command will merge the specified commit to the currently active branch.
Then "git pull" will fetch and replay the changes from the remote master branch since it diverged from the local master (i.e., E) until its current commit (C) on top of master and record the result in a new commit along with the names of the two parent commits and a log message from the user describing the changes.

Syntax
Git pull origin branchname

Git init
   • Git Init -  Create an empty Git repos...  

git add
   • Git Commit | Record changes to the re...  

git commit
   • Git Commit | Record changes to the re...  

git push
   • Git push - Push Local Changes to Remo...  

Git playlist
   • Git Tutorial | GitHub  

#git #knowledgethrusters #github #gitbash Git Tutorial