Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by NonEssereCavolli · Feb 07, 2016 at 08:03 PM · beginnergithubsource-control

How to use GitHub properly for beginners an

Hi, I've been trying to work on a project with my friend in unity. So i searched up how to do so and was directed to source control and github. I've set it up but I believe there are a few problems. What i've done:

  • Downloaded github and cloned project to desktop

  • Set to Visible Meta Files and Force Text

  • Saved unity project into repo

  • When i save i make changes to files, i commit and sync my friend does the same thing

  • Problems - Regular problems with merging scenes. Also a lot of files are sent back and forth that are not directly made by me.

Please can you try to run me through what the steps we need to do to access the same files and what you do. Please explain as if you are telling a 5 year old because we don't understand most jargon and stuff

Thanks for all the help!

NB One of us uses VS on WIndows and the other uses Monodevelop in Mac

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image NonEssereCavolli · Feb 06, 2016 at 10:56 AM 0
Share

Hi, I figured out one of the problems. The gitignore file isnt working. It keeps sending all the files in the library and temp. How do i fix or where to i place it.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by ZefanS · Feb 08, 2016 at 02:23 AM

Here's what I recommend based on my personal experience.

Make sure you set up your .gitignore correctly. It should be in the same directory as your .git file. The .gitignore here seems quite good and handles both VS and Monodevelop. Note that, as mentioned here,

If you already have a file checked in, and you want to ignore it, Git will not ignore the file if you add a rule later.

In other words, you may have to untrack a bunch of files that you want to ignore, or potentially just start a new repo from scratch.

As for the scene merging errors, it seems like the general consensus is that only one person should work on a scene at a time. If two people make changes there will be merge errors, but if only one person makes changes (per merge) the scenes can be merged automatically. Essentially this means you need to communicate clearly as to who does what, when.

It's not clear from your question whether you are or not, but I recommend learning how to use git from the command line. Here's a useful post for general git stuff.

Hope this helps!

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

SourceTree Hangs (not responding) with Unity Large Project 1 Answer

Super Ghouls 'n Ghosts style jumps & double jumps? 1 Answer

Why won't my power up work to buff my sword? 0 Answers

how to add a hole in the wall without effecting texture? 1 Answer

Not sure why I keep getting a Null Reference Exception? (Networking) 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges