svn code is managed by git

Let me introduce how I submit SVN code to github?

1. Use svn to "export" the code from the svn server to D:\andorid_workspace\msgmail, note that it is not checkout

 

2. Using the git client, go to D:\andorid_workspace\msgmail

 

3. Execute the following command

git init //Create a git repository

git add . // Put all files and folders in the current directory ( there must be files in them) into the "staging area" .

git status //Check which files have not been added to the "staging area", and continue to add the ones you want to manage to the "staging area", the operation is similar to the first step

git commit -m "Add log" // To submit an add log, the git commit comment must not be empty , otherwise the commit will fail.

 

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326599022&siteId=291194637