Do you need a 'remote update' before doing a 'pull' in Git -


assuming i've done following c:\, proper way latest code remote origin?

# create repo... mkdir test cd test git init ...create files git add . git commit -a -m "init commit"  # clone repo... cd .. git clone test testclone  # edit original cd test ...edit files git commit -a -m "init edit"  # go clone cd ..\testclone  # latest code # what??? pull or update pull 

git automatically setup remote origin within cloned repository, , configure branches merge equivalents on origin when pull.

all you'll have git pull in case.


Comments