Git - git pull v git pull origin master

0 votes
144 views
added Mar 23, 2023 in Git by lcjr First Warrant Officer (11,530 points)
  • git pull origin master fetches commits from the master branch of the origin remote (into the local origin/master branch), and then it merges origin/master into the branch you currently have checked out.

  • git pull only works if the branch you have checked out is tracking an upstream branch. For example, if the branch you have checked out tracks origin/master, git pull is equivalent to git pull origin master

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...