Profile

Cover photo
2,327 followers|172,446 views
AboutPostsPhotosVideos

Stream

Git

Shared publicly  - 
 
Git 2.6.0 is released!
The latest feature release Git v2.6.0 is now available at the
usual places.  It is comprised of 479 non-merge commits since
v2.5.0, contributed by 67 people, 15 of which are new faces.

The tarballs are found here: https://www.kernel.org/pub/software/scm/git/
Release notes: https://git.kernel.org/cgit/git/git.git/tree/Documentation/RelNotes/2.6.0.txt
7
2
Scott Olcott's profile photoVinoth KL's profile photo
Add a comment...

Git

Shared publicly  - 
 
Sep 22, 2015. Fifteen months ago we released GitLab 7.0. Since then we've vastly improved the performance of GitLab, made GitLab work in any Enterprise through deep LDAP integration and made it possible to work with large files in Git. On top of that, the UI has been reworked and improved with ...
13
2
Scott Olcott's profile photoJaya Prasad Rao's profile photo
Add a comment...

Git

Shared publicly  - 
 
This is an interesting overview with graphs of the development of estimated market share between Bazaar, CVS, Git, Mercurial and Subversion the last eight months. It's based on repository statistics from openhub.net (formerly ohloh.net) and judging by this, Git is doing pretty well.
openhub-repositories - Historic data from the repository comparison at openhub.net
1
Santosh Y's profile photo
 
Still too much svn... So many not aware that git is the Best.
Add a comment...

Git

Shared publicly  - 
 
Why I Don't Hate Git: Hidden Consistency. written on Tuesday, February 17, 2015. Git for me is an interesting topic. I used it initially when git had no UI and cogito was still a thing. I can't say I enjoyed using it much. At the time I did all my development tasks with SVN and the world was ...
8
1
Daniel Fanjul's profile photo
Add a comment...

Git

Shared publicly  - 
 
The ultimate guide to "Do"s and "Don't"s when using Git! Excellent information for both new and old Git users. Also suitable for other version control systems.
Commit Often, Perfect Later, Publish Once: Git Best Practices. Best Practices vary from environment to environment, and there is no One True Answer, but still, this represents a consensus from #git and in some cases helps you frame the discussion for the generation of your very own best ...
18
5
Igor Grinberg's profile photoDavid Nickerson's profile photo
Add a comment...

Git

Shared publicly  - 
 
Make your Git workflow easier with aliases or scripts
You probably have many git commands you repeat several times a day. To save keystrokes, you can create git aliases to convert the commands into short and easy commands. But what are the commands you use the most? If you're using bash, one way to find out is to check the .bash_history file. This file contains a list of all the commands you enter on the command line. To find out which git commands you use the most, execute this command:

  grep '^git ' ~/.bash_history | sort | uniq -c | sort -n

This creates a list of all git commands logged in .bash_history with the most used commands at the end of the list. If you're using zsh, replace .bash_history with .zsh_history (default in zsh) or .zhistory if you're using oh-my-zsh.

The aliases are stored in the ~/.gitconfig file, here are some examples:

[alias]
  br = branch
  ci = commit
  # dw: Create word diff
  dw = diff --word-diff
  # dww: Create diff showing single characters
  dww = diff --word-diff --word-diff-regex=.
  # fp: Fetch from all remotes and forget deleted remote branches
  fp = fetch --all --prune
  # lp: git log with patch
  lp = log -p --cc --decorate=short
  st = status -bs
  # rank: Create a list sorted by most active authors
  rank = shortlog -sne
  rv = remote -v
  # delbr: delete all merged branches
  delbr = !git branch -d `git branch --merged | cut -c3DASH`

(In the "delbr" alias, replace DASH with a single hyphen/minus, had to do it this way because Google Plus insisted on using overstrike. Any tips on how to disable G+ formatting in cases like this is very, very welcome.)

Also, if your command is too complicated to be represented by a git alias, you can create a script named git-[command] and store it in a directory in your $PATH. For example, name this script "git-bs" and place it somewhere in your $PATH:

#!/bin/sh
# Wrapper to allow execution of git-bisect in subdirectories
cd "$(git rev-parse --show-toplevel)"
git bisect "$@"

You now have a "git bs" command that works just like "git bisect", but can be executed from any subdirectory in your source tree.

Do you have any favourite aliases or git-* scripts? Please contribute useful examples in the comments!
12
4
Thorsten Biermann's profile photod4vid turn3r (r3nrut)'s profile photoAlex M's profile photoAldo Mendez Reyes's profile photo
2 comments
 
I think it's also worth evangelizing git-extras, which has helped my workflow a lot:
https://github.com/visionmedia/git-extras
Add a comment...

Git

Shared publicly  - 
 
6 myths preventing developers from using Git
"Nowadays, you’ll have a hard time finding a professional developer who doesn’t use a version control system (VCS) such as Git.
But, there are still a few among us who choose not to use a VCS due to preconceived notions they might have about version control.
Here are some myths and excuses that dissuade developers from integrating Git — and any version control system in general — into their workflow."
8
4
Jaya Prasad Rao's profile photoCameron Wood's profile photo
Add a comment...
Have them in circles
2,327 people
Gregory Saint-Jean's profile photo
Александр Мурашов's profile photo
Syam Kumar R's profile photo
Shane Sutton's profile photo
Vher Samuel Mitra Aggabao (Sam)'s profile photo
Rob N.'s profile photo
Adam Vandover's profile photo
Benedikt L's profile photo
Mihaela Ilie's profile photo

Git

Shared publicly  - 
 
Very good tutorial for Git, also available as e-book.
A Hacker’s Guide to Git is now available as an e-book. You can purchase it on LeanPub. IntroductionIntroductionGit is currently the most widely used version control system in the world, mostly thanks to GitHub. By that measure, I’d argue that it’...
16
5
Igor Grinberg's profile photoBoris Mühmer (ボリスくん, Usco)'s profile photoDaniel Tucker's profile photoAldo Mendez Reyes's profile photo
 
Possibly not the best name for a blog introducing this book ;)
Add a comment...

Git

Shared publicly  - 
 
Now that Google Code is soon history, here's a nice article about how things are going at GitHub.
Google Code was supposed to spread the open source religion. But then GitHub came along. And GitHub, it turns out, was a much better preacher.
36
6
Dieter Lunn's profile photoEric Keller's profile photo
Add a comment...

Git

Shared publicly  - 
 
Please write good commit messages. Future generations will thank you and homeless kittens get a home.
A Note About Git Commit Messages. 19 Apr 2008. I want to take a moment to elaborate on what makes a well formed commit message. I think the best practices for commit message formatting is one of the little details that makes Git great. Understandably, some of the first commits to rails.git have ...
18
6
Joel Low's profile photopro!vision GmbH's profile photo
Add a comment...

Git

Shared publicly  - 
 
In this post, I want to share with you a technique I learned recently from a colleague. It's a really great trick to keep your history nice and clean, while being able to work and push feature branches. Let's start with the workflow and the problem that generates ...
9
Add a comment...

Git

Shared publicly  - 
 
Git 2.1.0 is released
To see what's new since version 2.0.0, check out the release notes at <http://git.kernel.org/cgit/git/git.git/tree/Documentation/RelNotes/2.1.0.txt>. Downloads are available from <http://git-scm.com/downloads>.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 ...
22
4
Aldo Mendez Reyes's profile photoCameron Wood's profile photo
Add a comment...
People
Have them in circles
2,327 people
Gregory Saint-Jean's profile photo
Александр Мурашов's profile photo
Syam Kumar R's profile photo
Shane Sutton's profile photo
Vher Samuel Mitra Aggabao (Sam)'s profile photo
Rob N.'s profile photo
Adam Vandover's profile photo
Benedikt L's profile photo
Mihaela Ilie's profile photo
Links
Story
Tagline
News, tips and tricks about the Git version control system.
Introduction

Git is a free & open source, distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

Every Git clone is a full-fledged repository with complete history and full revision tracking capabilities, not dependent on network access or a central server. Branching and merging are fast and easy to do.

Git is used for version control of files, much like tools such as MercurialBazaarSubversionCVSPerforce, and Team Foundation Server.

This page is not an official page by the Git project, but created and updated by Øyvind A. Holm.