|
|
|
|
|
by bpatrianakos
4870 days ago
|
|
Agreed. I'm like you and I was just committing, branching, and merging but learning nothing while clicking around. I'm glad I know now though because I can totally use a lesson on branching. I think branching in Git is one of the most misunderstood parts of Git. I can't tell you how many times I've almost screwed up a repo because I made some mistake merging branches and not pulling from the correct branch when working on a different machine. To make matters worse, if you use Git to deploy into production, testing, and staging environments like I do you run the risk of pushing development or untested code into production by accident. I know I've definitely pushed code meant only for one branch (or feature) into production without merging with master... it gets confusing but needless to say it didn't take long before things stopped working and I realized my mistake. Branching is huge, awesome, powerful, but I know I as well as a lot of developers I know could use a good lesson on it. |
|