Posts

Showing posts with the label GIT

SVN to GIT/Bitbucket Migration Steps

Please follow below steps to perform SVN to GIT/Bitbucket migration: Prerequisites: 1. Must have a RHEL-7 or higher Linux server available to perform the steps. 2. The location where you decide to create new directory as “ git_migration ” must have enough disk space to hold the final GIT repository. Check the actual source SVN repo size /root/git_migration 3. Must have installed these software/tools in server Min. JDK-8, SVN and GIT client Installation commands, if you have access to internet from Linux server and subscription is in place: yum install subversion yum install git yum install git-svn 4. Its assumes that your SVN repo uses standard directory convention as   trunk/tag/branches 5. You must have a Bitbucket/Git account created and new repository as “ mygit ” is ready to add a new repo code base. Atlassian scripts to download for basic sanity on prerequisite environment is proper or not: https://bitbucket.org/atlassian/svn-migration-scripts/downloads/ https:...

Git Interview Questions

Image
Basic Questions 1. What is the difference between Git and SVN? Git SVN Git is a Decentralized Version Control tool SVN is a  Centralized Version Control tool It belongs to the 3rd generation of Version Control tools It belongs to the 2nd generation of Version Control tools Clients can clone entire repositories on their local systems Version history is stored on a server-side repository Commits are possible even if offline Only online commits are allowed Push/pull operations are faster Push/pull operations are slower Works are shared automatically by commit Nothing is shared automatically 2. What is Git? I will suggest you attempt this question by first telling about the architecture of git as shown in the below diagram just try to explain the diagram by saying: Git is a Distributed Version Control system(DVCS). It lets you track changes made to a file and allows you to revert back to any particular change that you wish. It is a distributed architecture that provides many advan...