• Git,  Leanpub,  Learning,  Tips,  Writing

    Git in easy steps – branch

    This is the third part in a series Git in easy steps – the basic Git in easy steps – amend and stash Git in easy steps – branch Then what is a branch in Git, actually? A branch in Git is simply pointer to the hash of a commit (which will be the HEAD commit of that branch), and a name of your branch, of course. That means creating a branch in Git is extremely cheap and is almost instantous. If you worked with some other VSC systems before, such as Team Foundation Server, branching will involve copy entire of the repository – including all and every folders and files. That…

  • Git,  Leanpub,  Learning,  Writing

    Git in easy steps – amend and stash

    This is the second part in a series Git in easy steps – the basic Git in easy steps – amend and stash Git in easy steps – branch Fixing your commit: Sometimes, you make a mistake committing something. A file can be missing, or the indentation is not perfect, or you had a typo in your commit message. If you are using some other source control softwares such as Team Foundation Server you’re done with that. The only option you have is to check in another change set to fix your previous one (in case you have a typo in your commit message, be done with that). Git is so much…

  • Git,  Leanpub,  Learning,  Writing

    Git in easy steps – the basics

    This is the first part in a series Git in easy steps – the basic Git in easy steps – amend and stash Git in easy steps – branch Why Git Extensions. The war of version control systems was over. Git has won. And that is not an over-statement. CSV, SVN, TFS were the past. Mercurial was close, but GitHub put the end of it. The popular of open source platform makes Git an unambiguous choice for almost every developer in the field . Even BitBucket, the service which once known for Mercurial, supports Git for now. If you start a new project today, Git should be your first and foremost…

  • Git,  Learning,  ranting,  Tips,  Uncategorized

    Learn Git in … 30 days

    Recently I stumbled on a tutorial named Learn git in 30 minutes. While there is nothing wrong with that tutorial, it’s actually pretty accurate, and clear and easy to follow – thumbs up to the author about the writing – I have great concerns about how should we learn Git. Git is not that easy. Don’t get me wrong, Git is a great tool, perhaps the greatest developers’ tool since C language. Where I work at, we switched from Team Foundation Server to Git two years and a half ago, and I’ve never looked back – Git does things right where TFS did wrong. It really helped my life, as a developer, easier.…