|
nbv4 posted:Its gotten to the point where I think I need to start branching. I want to add new features, but don't want to tie up my source in case a bug is discovered in myworking site while the SVN repo is tied up in my developement of a new feature. I head SVN is bad at branching. Should I switch to another program like git or w/e or will SVN be fine? You just pretty much described the use case where git really shines. I don't know what awesmoe is smoking but when I tried to do pretty much the same thing you did with svn it sucked pretty hard. Also, the latency difference between committing locally vs. committing over the network is nice.
|
# ¿ Aug 7, 2009 09:10 |
|
|
# ¿ May 3, 2024 01:04 |
|
rotor posted:you have to get pretty convoluted with branching before you're gonna start seeing the benefits from git Not really; it's more like if you use svn you're stuck with doing trivial things with branches because it sucks at anything more. quote:you can set up a local svn repo just as easily as you can with git Too bad that doesn't apply! nbv4 posted:Right now I have a website project that I manage with SVN. Basically I just use it to streamline moving files from my local machine to my webserver. Instead of manually moving files with a ftp program, I just commit, then ssh into my server, then checkout. Old man rotor getting senile. Even if you have a remote repo anyway, the majority of git operations don't go over the network.
|
# ¿ Aug 7, 2009 20:18 |
|
Profane Obituary! posted:Hey guys i want to be able to branch, does svn do this? How dare anyone suggest the right tool for the job!
|
# ¿ Aug 7, 2009 20:22 |
|
Avenging Dentist posted:Git is still a little bit sketchy on Windows I think, unless you want to deal with Cygwin. I'm curious as to how well it'd work with SUA. Honestly, any distributed VCS will do just fine in place of git (I don't remember which one is the Windows-friendly one).
|
# ¿ Aug 7, 2009 20:28 |
|
rotor posted:We have been through this so very many times, perhaps you can just explain exactly what you mean instead of indulging in vague, ominous handwaving. You first: quote:you have to get pretty convoluted with branching before you're gonna start seeing the benefits from git Pretty much the definition of "vague" right there. quote:At some point the code has to move from your machine to the server. You can run a local svn repo and export to the server if your connection to the server is too slow, at which point you have the same network situation that you would with git. Except that is a solution to a different problem. AFAIK, svn export only exports your working copy and not the version control information (i.e., .svn directories). This may actually be what the OP wants, but if you meant to show how svn can do "offline" version control just as well as git, you failed. quote:Are there any further spurious arguments you'd like to make? Perhaps you'd like to tell him about how much easier it is to create a git repository! If your answer to "git can do X better than svn can" will always be "svn can do <something that's vaguely similar to X but not really the same>" then I might throw a few more at you, just to see what you can come up with. It'll be at least as amusing as reading the CVS developers' defense of CVS' limitations.
|
# ¿ Aug 7, 2009 21:46 |
|
rotor posted:Sadly, I'm not enough of an idiot to say that svn can do everything git can, since that would be obviously factually incorrect. My issue is that I don't think this guy needs to go to the trouble of moving his vcs midproject because I'd guess that the ROI on the effort investment will basically never pay off. He explicitly asked, "Whats the best source control program for single person projects?" If that's not an invitation to pimp your favorite VCS, I don't know what is. quote:I think git advocates tend to overstate the both benefits of their VCS and the deficiencies of svn. I think you're overestimating the effort of porting a single-person project to another VCS and learning enough to be functional. If it were a large multi-person project in SVN then I'd be the first to agree that you should stick to svn.
|
# ¿ Aug 7, 2009 22:56 |
|
haywire posted:If Google Code had git I'd be happy as hell. Why are multiple people working on the same repository?
|
# ¿ Sep 18, 2009 22:26 |
|
|
# ¿ May 3, 2024 01:04 |
|
nbv4 posted:There is a function that I edited a few commits ago that is no longer working. How do I checkout an older version of a file from, say, 4 commits ago? I don't want to undo anything, I just want to mess around with an older version to do some debugging. I'm using git... git checkout HEAD~4 path/to/my.file
|
# ¿ Oct 8, 2009 10:59 |