When fetch
is executed, Git performs the following steps:
- Checks for the URL or remote name, which points to a valid Git repository specified in the command
git fetch remote_name
(or) url
. - If none is specified, it reads the config file to see if there is any default remote.
- If found, it fetches the named refs (heads and tags) from the remote repository along with their associated objects.
- The retrieved ref names are stored in
.git/FETCH_HEAD
to aid a possible merge operation in the future.
..................Content has been hidden....................
You can't read the all page of ebook, please click
here login for view all page.