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. If you would have to choose between GIT and SVN or between SVN and GIT?

If you would have to choose between GIT and SVN or between SVN and GIT?

Scheduled Pinned Locked Moved The Lounge
collaborationquestionsysadmindiscussioncareer
13 Posts 11 Posters 4 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.
  • J Offline
    J Offline
    Joan M
    wrote on last edited by
    #1

    Which one would you choose and why? - For a one man team (by now). - Mainly developing on a laptop. - Connected to a server only when at home, some of the job is done remotely. PS: I hope I have not just opened the Pandora's box... I'm a Little out in terms of what is a religious discussion nowadays... :laugh:

    OriginalGriffO R M J R 8 Replies Last reply
    0
    • J Joan M

      Which one would you choose and why? - For a one man team (by now). - Mainly developing on a laptop. - Connected to a server only when at home, some of the job is done remotely. PS: I hope I have not just opened the Pandora's box... I'm a Little out in terms of what is a religious discussion nowadays... :laugh:

      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #2

      I'm using GIT at the moment, and it seems easier than SVN did - the integration with VS isn't bad at all, and that makes a big difference: Getting started with GIT, Visual Studio, and BitBucket[^]

      Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      J 1 Reply Last reply
      0
      • OriginalGriffO OriginalGriff

        I'm using GIT at the moment, and it seems easier than SVN did - the integration with VS isn't bad at all, and that makes a big difference: Getting started with GIT, Visual Studio, and BitBucket[^]

        Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

        J Offline
        J Offline
        Joan M
        wrote on last edited by
        #3

        Thank you OG, I'll read that article and see... :thumbsup:

        1 Reply Last reply
        0
        • J Joan M

          Which one would you choose and why? - For a one man team (by now). - Mainly developing on a laptop. - Connected to a server only when at home, some of the job is done remotely. PS: I hope I have not just opened the Pandora's box... I'm a Little out in terms of what is a religious discussion nowadays... :laugh:

          R Offline
          R Offline
          Rage
          wrote on last edited by
          #4

          This is equivalent.

          Do not escape reality : improve reality !

          1 Reply Last reply
          0
          • J Joan M

            Which one would you choose and why? - For a one man team (by now). - Mainly developing on a laptop. - Connected to a server only when at home, some of the job is done remotely. PS: I hope I have not just opened the Pandora's box... I'm a Little out in terms of what is a religious discussion nowadays... :laugh:

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

            I use subversion. Not the Apache product; just subversion.

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

            1 Reply Last reply
            0
            • J Joan M

              Which one would you choose and why? - For a one man team (by now). - Mainly developing on a laptop. - Connected to a server only when at home, some of the job is done remotely. PS: I hope I have not just opened the Pandora's box... I'm a Little out in terms of what is a religious discussion nowadays... :laugh:

              J Offline
              J Offline
              Johnny J
              wrote on last edited by
              #6

              SVN - any day! GIT is much harder to work with and if somebody - not necessarily yourself - doesn't know how it works, you can lose code. I've experienced that at least twice... :mad:

              Anything that is unrelated to elephants is irrelephant
              Anonymous
              -----
              The problem with quotes on the internet is that you can never tell if they're genuine
              Winston Churchill, 1944
              -----
              I'd just like a chance to prove that money can't make me happy.
              Me, all the time

              1 Reply Last reply
              0
              • J Joan M

                Which one would you choose and why? - For a one man team (by now). - Mainly developing on a laptop. - Connected to a server only when at home, some of the job is done remotely. PS: I hope I have not just opened the Pandora's box... I'm a Little out in terms of what is a religious discussion nowadays... :laugh:

                R Offline
                R Offline
                realJSOP
                wrote on last edited by
                #7

                I use SourceSafe - because I don't care if nobody else likes it.

                ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                -----
                You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                -----
                When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                R 1 Reply Last reply
                0
                • J Joan M

                  Which one would you choose and why? - For a one man team (by now). - Mainly developing on a laptop. - Connected to a server only when at home, some of the job is done remotely. PS: I hope I have not just opened the Pandora's box... I'm a Little out in terms of what is a religious discussion nowadays... :laugh:

                  V Offline
                  V Offline
                  Vark111
                  wrote on last edited by
                  #8

                  if (GIT && SVN) || (SVN && GIT) has redundant boolean redundancies All humor aside - on a one man team, both Git and SVN will work fine in an offline situation. But with Git, since you have a local repo, you have the opportunity to commit (or branch/merge/whatever) code locally therefore maintaining a local history. With SVN you won't be able to commit (or branch, or merge) anything while offline. So your changes will all get dumped back into the SVN repo in one big pile of committed code (depending on how long you're offline). Of course you can pick through the files and do multiple commits, but what if BUG-2387 and BUG-1209 are both in the same file? In SVN those will appear as one commit if you did them offline. With Git, you can track them as two separate commits.

                  R 1 Reply Last reply
                  0
                  • J Joan M

                    Which one would you choose and why? - For a one man team (by now). - Mainly developing on a laptop. - Connected to a server only when at home, some of the job is done remotely. PS: I hope I have not just opened the Pandora's box... I'm a Little out in terms of what is a religious discussion nowadays... :laugh:

                    C Offline
                    C Offline
                    Chris Maunder
                    wrote on last edited by
                    #9

                    Git, 100% With Git you can be disconnected, you don't need to pull before you commit, and you get the chance to commit changes locally (eg when disconnected, or for just mucking around) without needing to push your changes to the main repo. The Pull Request extension is brilliant for those times you want to review changes before integrating them into master. Even better (and the killer thing for us). If your "main" repo goes down then who cares. Every other copy of your repo has all the history so you just point to another repo as your main (origin). Git is excellent for those who need to work offline and who realise that things fail.

                    cheers Chris Maunder

                    J 1 Reply Last reply
                    0
                    • V Vark111

                      if (GIT && SVN) || (SVN && GIT) has redundant boolean redundancies All humor aside - on a one man team, both Git and SVN will work fine in an offline situation. But with Git, since you have a local repo, you have the opportunity to commit (or branch/merge/whatever) code locally therefore maintaining a local history. With SVN you won't be able to commit (or branch, or merge) anything while offline. So your changes will all get dumped back into the SVN repo in one big pile of committed code (depending on how long you're offline). Of course you can pick through the files and do multiple commits, but what if BUG-2387 and BUG-1209 are both in the same file? In SVN those will appear as one commit if you did them offline. With Git, you can track them as two separate commits.

                      R Offline
                      R Offline
                      Rob Grainger
                      wrote on last edited by
                      #10

                      Excellent reply, very good points for the situation described. Have an upvote.

                      "If you don't fail at least 90 percent of the time, you're not aiming high enough." Alan Kay.

                      1 Reply Last reply
                      0
                      • R realJSOP

                        I use SourceSafe - because I don't care if nobody else likes it.

                        ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                        -----
                        You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                        -----
                        When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                        R Offline
                        R Offline
                        Rob Grainger
                        wrote on last edited by
                        #11

                        I went of SourceSafe when it totally corrupted our repository.

                        "If you don't fail at least 90 percent of the time, you're not aiming high enough." Alan Kay.

                        1 Reply Last reply
                        0
                        • C Chris Maunder

                          Git, 100% With Git you can be disconnected, you don't need to pull before you commit, and you get the chance to commit changes locally (eg when disconnected, or for just mucking around) without needing to push your changes to the main repo. The Pull Request extension is brilliant for those times you want to review changes before integrating them into master. Even better (and the killer thing for us). If your "main" repo goes down then who cares. Every other copy of your repo has all the history so you just point to another repo as your main (origin). Git is excellent for those who need to work offline and who realise that things fail.

                          cheers Chris Maunder

                          J Offline
                          J Offline
                          Joe Woodbury
                          wrote on last edited by
                          #12

                          Except: Git also has squashing. Git has utter contempt for code history.

                          1 Reply Last reply
                          0
                          • J Joan M

                            Which one would you choose and why? - For a one man team (by now). - Mainly developing on a laptop. - Connected to a server only when at home, some of the job is done remotely. PS: I hope I have not just opened the Pandora's box... I'm a Little out in terms of what is a religious discussion nowadays... :laugh:

                            P Offline
                            P Offline
                            Phil Martin
                            wrote on last edited by
                            #13

                            Mercurial or Fossil. For Mercurial, better windows GUIs, you won't have changesets disappear (I'm looking at you detached heads) and a whole bunch of other objective and totally sound reasons unrelated to me my intense personal dislike of Git :) .

                            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