What is a Git alias, and how do I use it?

If you're unfamiliar with Git's "alias" feature, it provides a way to create shortcuts for other Git commands, which can save you a lot of time. They’re easy to setup and maintain too. Using Aliases for Shortcuts You can create aliases for short commands, like assigning "checkout" to "co": git config --global alias.co checkout Or longer commands, like this one that displays a unique log view: git config --global alias.hist "log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short" And what if you’re the sole developer of some project and you’d »


5 Things You Can Do With a Locally Cloned GitHub Wiki

If you’ve been developing software for any length of time you’ve probably used GitHub, whether as free hosting for your own personal project, or searching for a library to use, or collaboration on a team. There’s a feature of every GitHub repo that in my experience doesn’t get a ton of love, and that's the GitHub wiki. In all fairness, I'm not sure how much love it deserves. Sure you can take notes in it, but its lack of short-codes/widgets (such as easily adding a table of contents to the top of your pages) and »

Getting started with Git

Subversion has been my VCS of choice the last few years. We use it at work, and so using it at home too made me that much more comfortable with it and knowledgeable about it. If you want to try it out, check out VisualSVN. It’s small, free, and only takes a few minutes to set up. I had it running on a spare machine with some other development tools. I read and hear more about Git than SVN nowadays (perhaps due to the popularity of sites like GitHub and Bitbucket). The fundamental difference between the two is that »