Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Is someone using Git ?

Discussion in 'General Discussion' started by U7Games, Feb 23, 2015.

  1. elmar1028

    elmar1028

    Joined:
    Nov 21, 2013
    Posts:
    2,353
    Is it compatible with Source Tree?
     
  2. ImpossibleRobert

    ImpossibleRobert

    Joined:
    Oct 10, 2013
    Posts:
    511
    It's a normal GIT endpoint that you can clone, so yes, any remote git client will work!
     
  3. alexzzzz

    alexzzzz

    Joined:
    Nov 20, 2010
    Posts:
    1,447
  4. Meltdown

    Meltdown

    Joined:
    Oct 13, 2010
    Posts:
    5,796
    Yes, Git is awesome.

    I use the SmartGit client (free for non-commercial use), and I use Github (I really prefer their website's Git features over any other offering).
     
  5. Gilldun

    Gilldun

    Joined:
    Mar 2, 2015
    Posts:
    16
    +2 for bitbucket + SourceTree.
     
  6. alexzzzz

    alexzzzz

    Joined:
    Nov 20, 2010
    Posts:
    1,447
  7. Raiden-Freeman

    Raiden-Freeman

    Joined:
    May 7, 2013
    Posts:
    15
    It's just how easily Git does things. It's not that mercurial is bad, it's just that Git does everything that you want, with almost no input from you, and it does it correctly.
     
  8. knr_

    knr_

    Joined:
    Nov 17, 2012
    Posts:
    258
    Installed Perforce on a Linux host on the internet.
     
  9. DanSuperGP

    DanSuperGP

    Joined:
    Apr 7, 2013
    Posts:
    408
    I've been using Git with Unity for years. It's very functional but there's quite a learning curve. SourceTree is a nice visual client, it helps, but you really do need to learn how to use the command line. Using the Perforce Merge Tool helps with merges, and it's free and pretty easy to setup.

    Binaries are a problem, git doesn't handle changes to them well, they bloat up your repos fast if there are lots of updates. I generally only store exported assets that are in the project in the repo, use separate repos for art source files.

    If you have Unity Pro, I've heard wonderful things about Plastic SCM. The ability to lock editing even though it's distributed is something git lacks, and is really important when you have lots of binaries.

    In the short run, you will probably have a few small incidents of lost work as a result of git problems, but in the long run it will save you endless amounts of tears.
     
  10. shaderop

    shaderop

    Joined:
    Nov 24, 2010
    Posts:
    942
    Would you please tell me where you got this Sentient Git client that does everything I want with no input from me? I would love to give it a try.

    Or better yet, you could give an actual example of performing a task using Git's CLI vs. Mercurial's to highlight Git's innate superiority. I'm genuinely intrigued since I have always found Mercurial's CLI to be more well-thought-out than Git's.