Professional Documents
Culture Documents
Lệnh Học Git
Lệnh Học Git
Mở cửa sổ lệnh git bash, chạy lệnh sau để tạo một alias
log: git config --global alias.slog "log --color --graph --
pretty=format:'%Cred%h%Creset -%C(yellow)%d
%Creset %s %Cgreen(%cr) %C(bold blue)<%an>
%Creset' --abbrev-commit" Sau đó chạy lệnh: git slog để
xem log dạng cây.