this post was submitted on 21 Jun 2023
7 points (100.0% liked)

Git

2911 readers
1 users here now

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

Resources

Rules

  1. Follow programming.dev rules
  2. Be excellent to each other, no hostility towards users for any reason
  3. No spam of tools/companies/advertisements. It’s OK to post your own stuff part of the time, but the primary use of the community should not be self-promotion.

Git Logo by Jason Long is licensed under the Creative Commons Attribution 3.0 Unported License.

founded 1 year ago
MODERATORS
 

My favorite is git h, which produces a nicely summarized log of commits on the current branch, with some highlighting and relative dates:

[alias]
    h = log --graph  --abbrev-commit --date=relative --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'

What's your favorite Git alias?

you are viewing a single comment's thread
view the rest of the comments
[–] canpolat 3 points 1 year ago (1 children)

And gti. Apparently one cannot push a Golf GTI from command line.

[–] jnovinger 2 points 1 year ago (1 children)
[–] canpolat 3 points 1 year ago (1 children)

I don't think so. One would need to download it first.

[–] msage 2 points 1 year ago

You can't stop me!