Ian Branch 128 Posted May 30, 2019 Hi Team, Confession - I know little about Git & SVN. I currently get the latest Jedi libraries via Git using the following process.. ====================== JCL: Delete the d:jcl directory git clone https://github.com/project-jedi/jcl.git jcl cd jcl git submodule update --init jcl\install.bat JVCL: Delete the d:jvcl directory git clone https://github.com/project-jedi/jvcl.git jvcl cd jvcl jvcl\install.bat ========================== There are two questions I have. 1. Instead of having to delete the directories before I run the above, is there a Git command sequence that will simply update my existing download? 2. I can update my GExperts by using the following command.. =========================== svn co https://svn.code.sf.net/p/gexperts/code/trunk GExperts =========================== Will SVN work in Git repositories, and if so, what would be the SVN commands for the Jedi libraries please? Regards & TIA, Ian Share this post Link to post
FredS 138 Posted May 30, 2019 8 minutes ago, Ian Branch said: Instead of having to delete the directories Once you have a git repo all you need is Pull: https://git-scm.com/docs/git-pull Share this post Link to post
Ian Branch 128 Posted May 30, 2019 Hi FredS So, the following from the jcl & jvcl directories should achieve what I want? ===================== git pull https://github.com/project-jedi/jcl.git git pull https://github.com/project-jedi/jvcl.git ===================== Thank you. Regards, Ian Share this post Link to post
FredS 138 Posted May 31, 2019 2 hours ago, Ian Branch said: should achieve what I want By default after a clone you should have the source of your clone set as 'origin'. more: https://stackoverflow.com/questions/2883840/differences-between-git-pull-origin-master-git-pull-origin-master#2883857 Although I do use Bash, I find TortoiseGit much easier and for that its r-click>Pull 🙂 Share this post Link to post
Edwin Yip 154 Posted May 31, 2019 In your Bash terminal, cd your working folder, and execute 'git pull origin master', that's all. I'd suggest GitExtensions, and execute it's 'Pull' menu command. Share this post Link to post
dummzeuch 1517 Posted May 31, 2019 Svn also works fine for Github repositories, as long as you don't try to commit or use externals. Also, pull requests don't work. If I remember correctly, the URL is the same. Share this post Link to post
Edwin Yip 154 Posted June 1, 2019 21 hours ago, dummzeuch said: If I remember correctly, the URL is the same. That was correct some years ago, but now you have to remove the '.git' postfix, and append '/trunk' if you want to checkout the trunk only. Share this post Link to post
Guest Posted June 1, 2019 It should also be possible to use branches and commit, according to their article: Support for Subversion clients. Share this post Link to post