robby0328 Posted December 10, 2015 Report Share Posted December 10, 2015 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? Link to comment Share on other sites More sharing options...
Rochet2 Posted December 10, 2015 Report Share Posted December 10, 2015 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. Link to comment Share on other sites More sharing options...
robby0328 Posted December 10, 2015 Author Report Share Posted December 10, 2015 I did some digging. Looks like GIT_DIR=<dir-to-the-git-folder>/.git GIT_WORK_TREE=<dir-to-the-git-folder> 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 Link to comment Share on other sites More sharing options...
Nay Posted December 11, 2015 Report Share Posted December 11, 2015 Why not simply cd ~/home/wow/source && git pull origin 3.3.5? 1 Link to comment Share on other sites More sharing options...
robby0328 Posted December 11, 2015 Author Report Share Posted December 11, 2015 haha that would be easier huh xD that honestly slipped my mind. Thanks nay I'm testing my install now. I'll let you guys know how it goes. 27 minutes ago, Nay said: Why not simply cd ~/home/wow/source && git pull origin 3.3.5? Link to comment Share on other sites More sharing options...
Recommended Posts