Boost Your Git Workflow with Aliases: Quick Guide

Ғылым және технология

Tired of typing lengthy Git commands for every operation? Boost your Git workflow with custom aliases! In this video, we dive into how you can set up Git aliases to streamline commands like pull, commit, branch creation, and more. Say goodbye to repetitive typing and hello to efficiency.
IMPORTANT: For "lg" alias, wrap "%an" with angle brackets instead of square brackets. I've added square, since angle brackets are banned for video description by KZread
[alias]
cob = checkout -b
co = checkout
cim = commit -m
ciam = commit -am
pulo = pull origin
pusho = push origin
rs = reset
rebcon = rebase --continue
col = config -l
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)[%an]%Creset' --abbrev-commit --branches

Пікірлер

    Келесі