cap10subtext
Jun 17th, 2012, 02:07 PM
Simple thread...
I'm not new to version control but every time I use it it's like pulling teeth. Currently struggling with Github. I've read most links I can find about version control and yet I'm having trouble making the leap that every manual seems to make. It's like:
nano README
git add README
git commit -m "I'm so smart: look at my README"
configure keys... blah blah
git push origin
Now fly sucker... :confused:
Let's take a real world example. I want to take an existing project which someone has hosted with git, but it's not on github. It's an insanely large project filled with hundreds of files. I clone it, create a repo, push it, but then when I make local changes and push, I can't, then I try to pull I get spammed with conflicts. So I have to manually fix those conflicts which kind of defeats the purpose of doing all this in the first place. Clearly I'm doing something wrong, but google isn't helping... everything I come across is either conflicting information or says stuff like "git pull --rebase" then manually fix everything (which puts me back to where I started!)
I know it's not the project, other people have successfully made their own branches on github.
The other thing I don't get is that people keep saying "don't worry, you can't screw up version control" and yet, I keep finding myself in a position where the files I've backed up disappeared and I can't figure out how to restore everything without a nuke and pave... And then once again, back to square one...
I need a guidebook called "how to roll with the punches" not "how to start over"...
Anyone have a really amazing resource that I just haven't come across yet? Am I just coming at this the wrong way? Ugh... just frustrated. Wasted a whole weekend just to upload changes to three text files... XX)
I'm not new to version control but every time I use it it's like pulling teeth. Currently struggling with Github. I've read most links I can find about version control and yet I'm having trouble making the leap that every manual seems to make. It's like:
nano README
git add README
git commit -m "I'm so smart: look at my README"
configure keys... blah blah
git push origin
Now fly sucker... :confused:
Let's take a real world example. I want to take an existing project which someone has hosted with git, but it's not on github. It's an insanely large project filled with hundreds of files. I clone it, create a repo, push it, but then when I make local changes and push, I can't, then I try to pull I get spammed with conflicts. So I have to manually fix those conflicts which kind of defeats the purpose of doing all this in the first place. Clearly I'm doing something wrong, but google isn't helping... everything I come across is either conflicting information or says stuff like "git pull --rebase" then manually fix everything (which puts me back to where I started!)
I know it's not the project, other people have successfully made their own branches on github.
The other thing I don't get is that people keep saying "don't worry, you can't screw up version control" and yet, I keep finding myself in a position where the files I've backed up disappeared and I can't figure out how to restore everything without a nuke and pave... And then once again, back to square one...
I need a guidebook called "how to roll with the punches" not "how to start over"...
Anyone have a really amazing resource that I just haven't come across yet? Am I just coming at this the wrong way? Ugh... just frustrated. Wasted a whole weekend just to upload changes to three text files... XX)