Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can SVN pull request same as GIT?

Tags:

svn

I am new to SVN but knew GIT. I read this question : How to send pull request on Git

A question, can SVN pull request same as GIT ?

like image 332
meotimdihia Avatar asked Aug 10 '12 10:08

meotimdihia


People also ask

Can you do pull requests in SVN?

It allows for advanced workflows like feature branching, forks and pull requests – in theory, these workflows are all possible with SVN, however the difficulty of merging in SVN compared to Git makes them untenable.

Is pull request same as Git pull?

If you use git pull , you pull the changes from the remote repository into yours. If you send a pull request to another repository, you ask their maintainers to pull your changes into theirs (you more or less ask them to use a git pull from your repository).

Is SVN similar to Git?

The difference between Git and SVN version control systems is that Git is a distributed version control system, whereas SVN is a centralized version control system. Git uses multiple repositories including a centralized repository and server, as well as some local repositories.

Is SVN checkout same as Git clone?

git clone is more of an analogue to svn checkout than git checkout . git checkout just checks out a branch or commit from your local repository. git clone makes a new copy of a remote repository. +1, Just to emphasize, in 99% of case you'd do an svn checkout you'd need a git clone .


1 Answers

A pull request in Git is typically used to ask someone, using his own repo, to pull changes from another repo (which is a clone of the original repo).

SVN only uses one repo for everybody, so the closest matches to a pull request would be:

  • you developed a feature in a branch, and ask the trunk maintainer to reintegrate your branch into the trunk
  • you developed a feature in your own working copy of the trunk, and send a patch file to the trunk maintainer in order to commit the changes into the trunk.
like image 82
JB Nizet Avatar answered Sep 22 '22 17:09

JB Nizet