SVN Interview Questions
What all things should be stored in SVN repository?
- Source Code
- MySQL Queries
- Database Updates
- Project regarding important files
- Product Documents
- Minutes of Metting and Imp Email
How to delete file from SVN Repo?
SVN delete filename
Difference between SVN commit and SVN update?
SVN commit:: Push (upload) the local changes to Repository.
SVN Update:: Get (download) the Repository changes files to local system.
List out what is the best practices for SVN?
- Work from your own local work-space
- Commit small autonomous changes
- Use comment
- Validate the files you are committing, you actually changed
- Take Update before commit to the Repo.
What is "branch" , "Tag" and "Trunk" in SVN ?
Trunk is the main body of development, originating from the start of the project till end.
Branch is a copy of code derived from a certain point in the trunk that is used for applying major changes to the code while preserving the integrity of the code in the trunk.
Trunk is a point in time on the trunk or a branch that you wish to preserve. This is like base-lining the code after a major release.
Difference between Update and Commit ?
Update is used to update the local workspace with the changes committed by the team to the repository whereas Commit is the process to push changes from local to repository.
Explain what is the difference between commit and update?
Update is used to update the local workspace with the changes made by the team to the repository, while commit is the process to implement changes from local to repository, in simple words, upload a file into repository.