Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Recommendations for source control

Recommendations for source control

Scheduled Pinned Locked Moved The Lounge
csharpgame-devsysadminquestion
54 Posts 36 Posters 50 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R raddevus

    Git or Mercurial (Hg). Very small footprint and extremely easy to install and get started with. They encourage committing early and often so everything is tracked. They are both extremely easy to use though I think Hg's commands are a bit easier to remember for some reason -- though as you'll see they share many commands. 1. Download and install Git or Mercurial. 2. download a .gitignore or .hgignore file (for your language like C#) so binaries etc are (ignored) not committed. 3. c:\MyProject\>git init <ENTER> 3. c:\MyProject\>hg init <ENTER> 4. c:\MyProject\>git add . <ENTER> 4. c:\MyProject\>hg add . <ENTER> 5. c:\MyProject\>git commit -a -m "initial commit of project" 5. c:\MyProject\>hg commit -m "initial commit of project" You are set up and ready to go. now all your changes will be tracked. you can do hg diff or git diff and you'll see diffs You can do hg status or git status and you'll see files that have been changed. it's so easy. once you use it you will never want to do anything without it because everything is tracked and you can easily move to a previous revision and throw the current branch away.

    My book, Launch Your Android App, is available at Amazon.com.

    Z Offline
    Z Offline
    ZurdoDev
    wrote on last edited by
    #8

    raddevus wrote:

    it's so easy

    I hate command line. I do prefer keyboard over mouse but I'm getting too old, I guess, to have to learn another "language." Thanks for the feedback though.

    There are only 10 types of people in the world, those who understand binary and those who don't.

    R S 2 Replies Last reply
    0
    • Z ZurdoDev

      raddevus wrote:

      it's so easy

      I hate command line. I do prefer keyboard over mouse but I'm getting too old, I guess, to have to learn another "language." Thanks for the feedback though.

      There are only 10 types of people in the world, those who understand binary and those who don't.

      R Offline
      R Offline
      raddevus
      wrote on last edited by
      #9

      RyanDev wrote:

      I hate command line.

      Oh, well, when you install Hg it will also install TortoiseHg Workbench which is a UI. Also, if you decided to go with the git bash installation then you can type c:/>gitk<ENTER> and a Tortoise-like UI will appear and you can do the work from there. Good luck

      My book, Launch Your Android App, is available at Amazon.com.

      1 Reply Last reply
      0
      • Z ZurdoDev

        What would you recommend for simple and free source control? I have some side projects I am working on and the code is on my desktop. I also want to work on the projects with my laptop. It doesn't necessarily need to be online, I wouldn't think, but wanted to hear what y'all are using to access the same code from multiple systems. If it matters, some of the projects are .Net and some are Unity. I am not interested in setting up my own server.

        There are only 10 types of people in the world, those who understand binary and those who don't.

        R Offline
        R Offline
        Ron Anders
        wrote on last edited by
        #10

        I'm using VisualSVN on a server box at my office. Free save for the static ip, os and box.

        T 1 Reply Last reply
        0
        • Z ZurdoDev

          What would you recommend for simple and free source control? I have some side projects I am working on and the code is on my desktop. I also want to work on the projects with my laptop. It doesn't necessarily need to be online, I wouldn't think, but wanted to hear what y'all are using to access the same code from multiple systems. If it matters, some of the projects are .Net and some are Unity. I am not interested in setting up my own server.

          There are only 10 types of people in the world, those who understand binary and those who don't.

          G Offline
          G Offline
          Garth J Lancaster
          wrote on last edited by
          #11

          I'd add a vote for Atlassian SourceTree - how you get your repos in one place I dont know unless you go github public - I use local git repos and occasionally when working on one project pull from a colleagues company private repo - source control is one thing where I like to 'see' what Im doing, as opposed to command-line, so SourceTree works well for me

          1 Reply Last reply
          0
          • Z ZurdoDev

            What would you recommend for simple and free source control? I have some side projects I am working on and the code is on my desktop. I also want to work on the projects with my laptop. It doesn't necessarily need to be online, I wouldn't think, but wanted to hear what y'all are using to access the same code from multiple systems. If it matters, some of the projects are .Net and some are Unity. I am not interested in setting up my own server.

            There are only 10 types of people in the world, those who understand binary and those who don't.

            M Offline
            M Offline
            Mehdi Gholam
            wrote on last edited by
            #12

            Use GIT source control with TortoiseGit – Windows Shell Interface to Git[^] UI (no command line nonsense!) if you are a lone developer. If you need to work in a group try GIT with Gitblit[^] as a local server.

            G S 2 Replies Last reply
            0
            • M Mehdi Gholam

              Use GIT source control with TortoiseGit – Windows Shell Interface to Git[^] UI (no command line nonsense!) if you are a lone developer. If you need to work in a group try GIT with Gitblit[^] as a local server.

              G Offline
              G Offline
              Garth J Lancaster
              wrote on last edited by
              #13

              I like the look of Gitblit :) thanks I'll stick with SourceTree though instead of TortoiseGit, it means its the same on my Mac as it is on windows

              1 Reply Last reply
              0
              • Z ZurdoDev

                What would you recommend for simple and free source control? I have some side projects I am working on and the code is on my desktop. I also want to work on the projects with my laptop. It doesn't necessarily need to be online, I wouldn't think, but wanted to hear what y'all are using to access the same code from multiple systems. If it matters, some of the projects are .Net and some are Unity. I am not interested in setting up my own server.

                There are only 10 types of people in the world, those who understand binary and those who don't.

                J Offline
                J Offline
                Jorgen Andersson
                wrote on last edited by
                #14

                I'd recommend Mercurial, and since you don't like CLI, more specifically TortoiseHG[^]. It's simple to use, filebased, distributed and more consistent than GIT[^]. Joel Spolsky made a tutorial that you can find here[^], it's for the CLI version, but I'd still recommend reading it.

                Wrong is evil and must be defeated. - Jeff Ello

                Z 1 Reply Last reply
                0
                • R Rajesh R Subramanian

                  Bitbucket has a free option that might suit your needs: Bitbucket Pricing[^] Edit: Missed the important bit - this means I'm recommending GIT to you. :)

                  B Offline
                  B Offline
                  Brady Kelly
                  wrote on last edited by
                  #15

                  BitBucket also hosts Mercurial, last I saw.

                  Do what thou wilt shall be the whole of the Law. - Liber AL vel Legis 1:40, Aleister Crowley

                  1 Reply Last reply
                  0
                  • Z ZurdoDev

                    What would you recommend for simple and free source control? I have some side projects I am working on and the code is on my desktop. I also want to work on the projects with my laptop. It doesn't necessarily need to be online, I wouldn't think, but wanted to hear what y'all are using to access the same code from multiple systems. If it matters, some of the projects are .Net and some are Unity. I am not interested in setting up my own server.

                    There are only 10 types of people in the world, those who understand binary and those who don't.

                    P Offline
                    P Offline
                    PauloJuanShirt
                    wrote on last edited by
                    #16

                    I'd recommend GIT but with something simpler than source tree if you are after simplicity. What IDE/Language you using? Visual Studios GIT tools are not bad.

                    1 Reply Last reply
                    0
                    • Z ZurdoDev

                      What would you recommend for simple and free source control? I have some side projects I am working on and the code is on my desktop. I also want to work on the projects with my laptop. It doesn't necessarily need to be online, I wouldn't think, but wanted to hear what y'all are using to access the same code from multiple systems. If it matters, some of the projects are .Net and some are Unity. I am not interested in setting up my own server.

                      There are only 10 types of people in the world, those who understand binary and those who don't.

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #17

                      Subversion: very simple, doesn't need a server, can access via shared disk repository.

                      R Z 2 Replies Last reply
                      0
                      • Z ZurdoDev

                        What would you recommend for simple and free source control? I have some side projects I am working on and the code is on my desktop. I also want to work on the projects with my laptop. It doesn't necessarily need to be online, I wouldn't think, but wanted to hear what y'all are using to access the same code from multiple systems. If it matters, some of the projects are .Net and some are Unity. I am not interested in setting up my own server.

                        There are only 10 types of people in the world, those who understand binary and those who don't.

                        K Offline
                        K Offline
                        KarstenK
                        wrote on last edited by
                        #18

                        The best is to use git and the github online service. It is better than svn which we have dropped because git has more branching power and fits better in our tool chains. And last but not least: you stay away from Microsoft, which has the tradition to hold its customers as prisoners.

                        Press F1 for help or google it. Greetings from Germany

                        1 Reply Last reply
                        0
                        • C Chris Maunder

                          ...err, I mean TFS. ...I mean, Team Services. Sorry. I mean: Visual Studio Team Services I love Microsoft's naming. Really I do. It's free, it works.

                          cheers Chris Maunder

                          S Offline
                          S Offline
                          Slacker007
                          wrote on last edited by
                          #19

                          What do you guys use for your code repository?

                          C 1 Reply Last reply
                          0
                          • M Mehdi Gholam

                            Use GIT source control with TortoiseGit – Windows Shell Interface to Git[^] UI (no command line nonsense!) if you are a lone developer. If you need to work in a group try GIT with Gitblit[^] as a local server.

                            S Offline
                            S Offline
                            Slacker007
                            wrote on last edited by
                            #20

                            :thumbsup:

                            1 Reply Last reply
                            0
                            • L Lost User

                              Subversion: very simple, doesn't need a server, can access via shared disk repository.

                              R Offline
                              R Offline
                              Rob Philpott
                              wrote on last edited by
                              #21

                              Seconded, this is what I use at home, shared folder on NAS, VisualSvn plug in. Simple, free and up and running in under an hour.

                              Regards, Rob Philpott.

                              1 Reply Last reply
                              0
                              • J Jorgen Andersson

                                I'd recommend Mercurial, and since you don't like CLI, more specifically TortoiseHG[^]. It's simple to use, filebased, distributed and more consistent than GIT[^]. Joel Spolsky made a tutorial that you can find here[^], it's for the CLI version, but I'd still recommend reading it.

                                Wrong is evil and must be defeated. - Jeff Ello

                                Z Offline
                                Z Offline
                                ZurdoDev
                                wrote on last edited by
                                #22

                                Thanks.

                                There are only 10 types of people in the world, those who understand binary and those who don't.

                                1 Reply Last reply
                                0
                                • L Lost User

                                  Subversion: very simple, doesn't need a server, can access via shared disk repository.

                                  Z Offline
                                  Z Offline
                                  ZurdoDev
                                  wrote on last edited by
                                  #23

                                  Richard MacCutchan wrote:

                                  Subversion: very simple, doesn't need a server

                                  I thought it did. Thanks.

                                  There are only 10 types of people in the world, those who understand binary and those who don't.

                                  L 1 Reply Last reply
                                  0
                                  • Z ZurdoDev

                                    What would you recommend for simple and free source control? I have some side projects I am working on and the code is on my desktop. I also want to work on the projects with my laptop. It doesn't necessarily need to be online, I wouldn't think, but wanted to hear what y'all are using to access the same code from multiple systems. If it matters, some of the projects are .Net and some are Unity. I am not interested in setting up my own server.

                                    There are only 10 types of people in the world, those who understand binary and those who don't.

                                    M Offline
                                    M Offline
                                    Mark_Wallace
                                    wrote on last edited by
                                    #24

                                    I'd suggest that they lock you out of the building.

                                    I wanna be a eunuchs developer! Pass me a bread knife!

                                    1 Reply Last reply
                                    0
                                    • Z ZurdoDev

                                      What would you recommend for simple and free source control? I have some side projects I am working on and the code is on my desktop. I also want to work on the projects with my laptop. It doesn't necessarily need to be online, I wouldn't think, but wanted to hear what y'all are using to access the same code from multiple systems. If it matters, some of the projects are .Net and some are Unity. I am not interested in setting up my own server.

                                      There are only 10 types of people in the world, those who understand binary and those who don't.

                                      D Offline
                                      D Offline
                                      Dominic Burford
                                      wrote on last edited by
                                      #25

                                      I'd recommend Github which also has the advantage that it works with every other tool and development platform out there from Linux to Windows.

                                      "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare Home | LinkedIn | Google+ | Twitter

                                      Z 1 Reply Last reply
                                      0
                                      • D Dominic Burford

                                        I'd recommend Github which also has the advantage that it works with every other tool and development platform out there from Linux to Windows.

                                        "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare Home | LinkedIn | Google+ | Twitter

                                        Z Offline
                                        Z Offline
                                        ZurdoDev
                                        wrote on last edited by
                                        #26

                                        Thank you.

                                        There are only 10 types of people in the world, those who understand binary and those who don't.

                                        1 Reply Last reply
                                        0
                                        • C Chris Maunder

                                          ...err, I mean TFS. ...I mean, Team Services. Sorry. I mean: Visual Studio Team Services I love Microsoft's naming. Really I do. It's free, it works.

                                          cheers Chris Maunder

                                          J Offline
                                          J Offline
                                          JackPeacock
                                          wrote on last edited by
                                          #27

                                          I've used Git, Mercurial, SourceSafe and TFS, even (from the dark ages) DECset on VMS and an SCM on CDC Kronos systems (darn, can't remember the name, and yeah, SCMs have been around on mainframes since the 1960s). TFS gave me the least amount of trouble. I develop both C# and .NET alongside embedded "bare iron" ARM GCC using Eclipse. TFS worked fine for both. Working with embedded involves building boards as well as writing code. I used TFS to version schematics, PCB layouts and reference manuals, even field service work instructions, along with code. That's where the database method is handy; it stores binary BLOBs as wll as code deltas. What I like best is the lack of "file droppings" in source code directories. TFS puts everything in a SQL database. This is developing in a commercial enterprise environment where project management is critical. TFS has a very nice work item structure to track design, bugs, testing, even deployment, and it integrates well with both VS and Eclipse, along with MS Project. The type of programing is not quite the usual mix. What I need is a common pool of drivers and RTOS tasks that I pick and choose for different circuit boards, sort of an a la carte program design methodology. Code is added to individual files with conditional compiles for different variations, due to IC pinouts, but basically similar targets. Directory level commit gets in the way because individual files are shared across several target builds, not the entire directory. Sure, other SCMs can do file level check in/out, but TFS does it best. These days I have to use Github, management directives from on high, but I do miss the ease of use with TFS.

                                          J 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups