1 / 24

Version Control

Version Control. Using svn and git with Unity and sdk. Subversion ( svn ). Create Assembla Repo. Go to www.assembla.com/subversion/ “Get started with Free Repository” Enter signup information Click “Create Account” Enter prompted information

mada
Download Presentation

Version Control

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Version Control Using svn and git with Unity and sdk

  2. Subversion (svn)

  3. Create Assembla Repo • Go to www.assembla.com/subversion/ • “Get started with Free Repository” • Enter signup information • Click “Create Account” • Enter prompted information • Select subversion (or git if preferred, see next section) • Select repository name • Go to my repository

  4. Create Assembla Repo… • Add Team Members • Click Team tab along top • Invite new team members • Search for team members to add to project

  5. Create Assembla Repo… • Click SVN tab along top • Use checkout URL in future steps

  6. svn • Checkout repository • Add files • Commit changes

  7. Tortoise svn (windows) • Graphical tool to use SVN with on Windows

  8. Create Repository Make local directory containing files to be added to repository Right-click > Import Enter repository URL Enter username and password

  9. Accessing repository Create local directory Right-click > SVN Checkout Browse/Type URL of source and destination directories Click OK, files will be copied from repository to local directory specified

  10. Updating Repository Right-click directory > SVN Commit Right-click > SVN Checkout Type message describing changes you made Click OK

  11. Updating Local repository Right-click directory > SVN Update

  12. GIT

  13. git • Import repository • Add files • Commit changes to local repository • Push changes to central repository

  14. Setting up Github • Follow Instructions above for setting up Assembla, or create github account (below) • Go to github.com • Sign up for new account • Enter personal information • Select free account • Finish sign up

  15. Setting up Github… cont • Create new repository (button) • Enter name of repository • Create repository

  16. Setting up Github… cont • Add group members to repository • Settings • Collaborators • Add group member as collaborator

  17. Setting up Github… cont • Follow instructions on github.com and later slides to access repository

  18. Git – cloning repository • git clone project_urllocal_directory_name • Creates a copy of git repository from ‘project_url’ into ‘local_directory_name’

  19. Git – Updating • git pull • Gets files from repository and merges with your files • git add file1 file2… etc • Staged listed files to be committed to local copy of repository • git commit –m “message describing changed made” • Adds all files staged to be commited to local copy of repository • git push • Updates central repository with contents of your local repository

  20. unity

  21. UNity Enable Metadata: Edit -> project settings -> editor -> version control -> visible meta files. Add ‘Assets/’ and ‘ProjectSettings/’ directories to SVN or GIT Ignore ‘Library/’ directory

  22. udk

  23. Udk • Required Files/folders: • Binaries • Config • Content • Source • [Your_project_Name].sln • [you_project_name].uproject • Everything else can be ignored

  24. Relevant Tutorials Unreal + git http://synestry.com/blog/unreal-engine-4-collaborating-team-members-hack-day/ Unreal + svn http://thejahangir.com/svn-source-control-with-unreal-engine-4-tortoisesvn/ https://wiki.unrealengine.com/Subversion_source_control_(Tutorial) Unity+svn http://docs.unity3d.com/Manual/ExternalVersionControlSystemSupport.html

More Related