Git Question

OS: Ubuntu 14.04 Server

I know if I do

git clone -b 3.3.5 git://github.com/TrinityCore/TrinityCore.git ~/home/wow/source

this will clone the 335 git to the source folder

I’m not at home and am wondering will this do the same for pull IE:

git pull origin 3.3.5 ~/home/wow/source

Or do I need to go to that folder first?

you probably need to go to the folder and do git pull origin 3.3.5

Dont think I saw a path in the docs.

I did some digging. Looks like

GIT_DIR=/.git GIT_WORK_TREE= git pull

will do it but I will try when I get some. I'm writting myself a script to auto install all necessary things as well as TC 335a. Backup/update as well

Why not simply [FONT=courier new]cd ~/home/wow/source && git pull origin 3.3.5[/FONT]?

haha that would be easier huh xD that honestly slipped my mind. Thanks nay :smiley: I’m testing my install now. I’ll let you guys know how it goes.