Best Git Tools: GitGutter – show changed lines in your editor

GitGutter is an amazing idea, that gained a lot of traction through the Sublime Text plugin created by J.D. Isaacks. The plugin lets you see which lines have been changed since the last git commit, right in your editor, while you’re coding. This is brilliant and it will prevent you from unwanted changes and make you more aware of how you’re changing code on a project that you don’t maintain alone. Continue reading “Best Git Tools: GitGutter – show changed lines in your editor”

What writing a book looks like

I just wanted to show, quite quickly, what combination of windows I’ve been looking at a lot in the past months.

Basically I’ve been writing the book I’ve been talking about in gVim, which is a GUI frontend for vim. With it I use the Tomorrow Theme and Adobe’s Source Code Pro.

writing_a_book

Git for Book writing

Git is amazing and I love it. I’ve been using it to write the book and to track my MarkDown source files. It’s been really easy to figure out when I did what, which is great when you’re dealing with several releases of software and you have to adjust things. It flags everything you change, everything you add, everything you take away. It’s nice to know that no matter what you do, you can always go back, you have a history in many small, but meaningful pieces.

Editing and Revisions

The editing was done in regular office software like Word and Libre Office/Open Office to correct mistakes, elaborate, clarify, etc.

It’s very reasonable and it’s been a struggle for me once in a while, because I have a hard time using desktop publishing and home office products. They crash, are buggy and just don’t offer a very good writing experience. This I think was the hardest part!

GitLab Repository Management published!

The book about GitLab, that I’ve been writing over the past months is now available now! It’s published at PACKTpubs website as GitLab Repository Management! I’m very excited to see it launch and I’ve received some very warm tweets and congratulations on this!

Right now I’m figuring out the details on how to do a give-away on this blog by the way! 😀

gitlab_repository_management_book

It’s been an amazing experience to write a book and I want to thank my reviewers and the publisher so much for guiding me through this!

It was a long journey from being discovered through some posts I wrote on this blog, to writing, editing, polishing, re-editing and finally it’s published! I’m looking so much forward to improving the book and keeping it up to date, because GitLab simply is an amazing self-hosted or cloud solution. It strips away so many difficulties and let’s you effectively manage you code.

Best/most visual git cheat sheet

Git can have quite a learning curve. That is, as soon as you want to do something more than clone, pull or push. For these situations you either have a fantastic GUI client, but that will not cover everything either. At some point you will probably have to remember more than three commands, where this git cheat sheet comes in! Continue reading “Best/most visual git cheat sheet”

Private Github Enterprise Alternatives

Github Enterprise is basically a local installation of the famous service at github for your company or organisation. Although it comes with a quite a pricetag. In this post I want to show some alternatives that allow you to run a git server on your private network or on any server on the web. Continue reading “Private Github Enterprise Alternatives”

Why Shells are Awesome

I’m a developer, I think shells are awesome. When I was in ninth grade I took a class in typing with the 10-finger system, which was a full year of typing dull things into an incredibly old DOS interface.
I took these classes, because I had a couple of those Linux magazines and the authors occasionally brought up how much faster things were if you just could use your keyboard, instead of your mouse. My problem was, that I couldn’t type perfectly without looking at the keyboard. Continue reading “Why Shells are Awesome”

git tip: define a custom alias

Git provides a really, really powerful set of tools, which my brain can remember the most important ones of. Luckily, you can define alias’ for the commands that are nice to have, but probably a lot longer.

A quick collection of common shortcuts I’ve found in the git cheat sheet on errtheblog.com. Continue reading “git tip: define a custom alias”

Writing a book on GitLab

That is exactly what I am trying to achieve at the moment, a book on how to set up your private git server with GitLab. I can’t say too much about what will be in it or if it even will be published, since that is not entirely up to me. I’m doing my best to create the most useful content I can, both from research and experience with this great project.

I’ll just quickly get into, why I decided to actually write this book in the first place, when I was approached by a publisher.
Update: It’s been published, take a lookt at: GitLab Repository Management! Continue reading “Writing a book on GitLab”

git every day

I’ve previously mentioned, that I installed GitLab 5.0 and it’s been pretty cool since. Today I just want to write about what I use git for in my everyday life.

If you want a quick recap of what git is, visit their official site or read my previous post Why you should start using git now

What I’ve been doing so far

About 1.5-2 years ago I started getting into git, because I wanted to take part in developing software smartly, in teams and take part in global open source projects.

I keep my WordPress plugins on github, parallel to the WordPress plugin repository and a couple of months ago I started fixing minor mistakes in other projects. Continue reading “git every day”

Installing GitLab 5.0

In the past couple of hours I’ve completed to install GitLab in version 5. It was quite a journey through the install instructions, the trouble shooting guide and at last numerous threads on the google group and stackoverflow.

As I promised earlier, I’ll tell a little more about this very interesting project now.

The error I’ve beat my head into a little, while trying to git push -u -v origin master was the following: Continue reading “Installing GitLab 5.0”