all
I have been asked to clone a repository hosted on cloud server using ssh onto our local server..I did that using "git clone ssh://server path "..once i do this., I see .git folder created and all the files..
now for next time if the code is changed on cloud server., i have been asked to run this onto local machine
git fetch git tag (tag number is the largest tag number i see on the list- probably every commit was made will have new tag number..i am just assuming this way) git checkout
my question is when i run git fetch., its going to update my local copy of remote repository (but dont merge with my current local branch)..is that correct ?
when I run git tag - it gives me list of tags..from where this information is pulled from ? does this contacts remote cloud server to get the tags ? or it will get it locally since I did git fetch in the first step ?
git checkout - i really dont understand this step what it does ?..does it updates local files with the changes made on this specific tag number ?..if yes, that means it copies the modified files from local copy of remote repository to my current working directory ?
Please clarify..its all time confusing for me.
shan