Search code examples
gitgit-fetch

cannot see branches after git fetch


I try to make git fetch, but after the command is completed, it doesn't expose any info in the console. git config --get remote.origin.fetch says:

+refs/heads/*:refs/remotes/origin/*

?


Solution

  • If a git fetch returns an empty output, the most likely reason is:

    your local cloned repository already has the all history of the remote repo cloned.
    There is nothing new to fetch.