We have recently migrated to Git from SVN. We have setup a bare repository on one machine in our LAN network and cloned on other machines. Now when anyone do the changes and commits we want that he sends the pull request to the bare repo (by telling or emailing or any other way) after that one will go through the changes and pull it on bare repository (same as it works on GitHub).
Do we need to install any interface or there is some commands in Git itself?
Both Git (the software) and GitHub (the web service) have a concept called "pull request", and unfortunately they are not exactly the same thing.
The native Git
request-pull command has a very short manual page with the following one-sentence description:
Summarizes the changes between two commits to the standard output, and includes the given URL in the generated summary.
This is a fairly low-level command that generates a short summary of changes that is suitable for posting to a mailing list. Other users can use the URL published in this "pull request" to manually pull changes into their own repository.
It is worth noting that Linus has his own opinion on the relative utility of these two features.
The two "pull request" features described above are similar in spirit but completely different in implementation. In particular, the
git request-pull command cannot be used to create a new Pull Request on GitHub. You have several choices if you want to support "pull request" type functionality:
git request-pulland a mailing list. Using this method requires a lot more discipline from your engineers, as it's easy to misplace or mishandle mailing list messages. There is no central accountability associated with this method.