Jump to content
Ian Branch

Jedi - Git => SVN?

Recommended Posts

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

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

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

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×