a blog for those who code

Thursday, 19 June 2014

Git Svn Clone Vs Init + Fetch

In this post, we will see what is the difference between git svn clone and git svn init + git svn fetch. There is no difference between the two, they are exactly the same. It is because Git has many high level commands which actually calls other low level commands.


Let's say you have executed any one of the below commands, both this command will actually clone your repository.

git svn clone "Your URL"
OR
git svn init "Your URL"
git svn fetch

The first command is a high-level command which includes initiating a repository and then fetching commits from an SVN repository and the second command is doing the same thing but using two separate low-level commands.

Please Like and Share the Coding Defined.com Blog, if you find it interesting and helpful.

No comments:

Post a comment