关于Git的学习思路: 关键在于分支 - 悲催的科学匠人 - 冷水's blog

关于Git的学习思路: 关键在于分支

冷水 posted @ 2014年11月26日 22:16 in linux with tags git , 2287 阅读

关于Git的学习思路

去年试图学过一次,但是居然没法接受,也许是使用svn太久脑子没法转过来。

这次因为工作需要,决定转到git。找了几本书看过,发现对于一个svn老人来说,掌握git的关键还在于思路转换。

转换思路的关键在于分支,只要理解了分支,理解了git中各个分支如同锁链一样将各个commit连接在一起,知道分支之间的切换、merge和rebase等操作的概念,其它的就好说了。

如果一开始就着眼于一些琐碎的add commit checout 之类的命令,就无法有全局观念。

BTW,我觉得开源的 Git Go Pro 和 Git 的官方文档是不错的资料。蒋鑫的书,内容丰富,是本不错的书,但是内容的安排顺序却缺乏全局观,可能不适合svn老人入门。

  • 无匹配
Avatar_small
what is a DNS Server 说:
2022年8月10日 00:13

DNS Port which is abbreviated as Domain Name System is used to configure and sync the Domain name from a Domain service provide to an IP Address of a hosting. In order for a website to be hosted on the Internet and to function smoothly, there should be fixed DNS and it translates the required information to the hosting, so the worldwide web can access the service as well. what is a DNS Server In simple terms, we can consider a Domain name and let us take the example of Google.com and here the Google.com is called the website full name, where the Google is only the partial domain name representing the main keyword.

Avatar_small
milan 说:
2023年1月10日 01:02

There are a lot of different ideas about how to learn Git, and the key lies in finding the approach that works best real estate agent Early Branch for you. One popular method is to create a "branch" for each new concept you want to learn, and then experiment with that concept in that branch. You can then merge your changes back into the main "trunk" of your code when you're ready. This allows you to keep your codebase clean and tidy, while also giving you a safe place to play around with new ideas.

Avatar_small
Emma 说:
2023年1月11日 18:36

Git is a powerful tool for developers, and one of its key features is branching. When you're working on a project, you can create a new branch to experiment with new ideas without affecting the main codebase. This is a great way to learn about cheap real diamond rings online new features or techniques without risk. And, if you decide to go ahead with the changes, you can simply merge the branch back into the main codebase.

Avatar_small
terapia de pareja 说:
2023年6月25日 03:53

En el ámbito de la terapia psicológica de pareja, así como en el tratamiento individual, también existe la opción de solicitar una terapia de manera online, modalidad que presenta ciertas ventajas que deben ser tenidas en cuenta. Algunas de estas son la mayor flexibilidad de horarios y comodidad, mayor seguridad y anonimato en el paciente a quien le cueste desplazarse hacia una consulta psicológica y casi siempre, un coste de terapia más económico.

Avatar_small
SEO 说:
2023年12月03日 22:20

Trustworthy 메이저사이트 options are essential for bettors. Toto Match's dedication to safety ensures worry-free online gambling.

Avatar_small
civaget 说:
2023年12月04日 08:09

Maximize your site speed to enhance user experience and reap the benefits of improved 구글 상위노출 rankings.

Avatar_small
civaget 说:
2023年12月07日 03:33

오피 businesses bring a unique blend of relaxation and culture to officetels.

Avatar_small
civaget 说:
2023年12月12日 01:35 오피 sites are my trusted companions in navigating the world of officetel businesses.
Avatar_small
civaget 说:
2023年12月17日 04:51

With 무료스포츠중계, the world of sports is at your fingertips. It's like having a VIP pass to every game.

Avatar_small
civaget 说:
2023年12月18日 04:20

Effortlessly find officetel wonders with 오피가이드. Trust their user reviews and real-time updates for a top-notch officetel experience.

Avatar_small
civaget 说:
2023年12月18日 06:23

대구오피's massages are pure bliss. Each session leaves you feeling relaxed and invigorated. A truly remarkable experience!

Avatar_small
civaget 说:
2023年12月23日 23:38

오피가이드 simplifies the OP hunt. Real-time updates ensure you never miss out on the best OP experiences.

Avatar_small
civaget 说:
2023年12月27日 04:29

인천휴게텔 is where relaxation meets excellence. The Swedish massage provided ultimate comfort, and the attentive staff made it an exceptional experience.

Avatar_small
civaget 说:
2023年12月31日 03:35

제주오피's commitment to customer satisfaction shines through with its exceptional massages, soothing ambiance, and attention to detail.

Avatar_small
seo service london 说:
2024年1月13日 03:08

 I care for such information much. I was seeking this certain information for a long time. Thank you and good luck


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter
Host by is-Programmer.com | Power by Chito 1.3.3 beta | © 2007 LinuxGem | Design by Matthew "Agent Spork" McGee