Created
July 29, 2021 15:38
-
-
Save lucasapoena/914fc0112e9c5772902b765936508dd5 to your computer and use it in GitHub Desktop.
Convertendo repositório SVN para o GIT no Windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SET projeto=NomeProjeto | |
SET urlPathSVN=https://svn.seuservidor.com.br/svn/%projeto% | |
SET pathFolderSVN=C:\Projetos\SVNtoGIT | |
SET git_userName=lucasapoena | |
mkdir %pathFolderSVN%\%projeto% | |
cd %pathFolderSVN%\%projeto% | |
git svn init %urlPathSVN% --no-metadata | |
git svn fetch | |
git remote add origin [email protected]:%git_userName%/%projeto%.git | |
git push -u origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Script para conversão de repositorio SVN para GIT