简体   繁体   中英

commit git branch to SVN

We are using SVN in our project. I customized an open source project which is hosted in GitHub. I checked out the source code for the third party library from GIT and made some modifications.

Now I need to commit my files to our local SVN repository.

How can I commit the project to my local SVN ignoring the git related changes.

Thanks,

How can I commit the project to my local SVN ignoring the git related changes.

If you mean committing the modified files without the git files, then excluding .git directory and .gitignore file in the root of the project would do the trick most of the time. For full list of git special files you might refer to What are all available Git special files that can be committed to a repository?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM