On Friday, 17 April 2026 21:45:07 BST n7800 via fpc-devel wrote:
> you can even create MR in GitLab using the "git push" command, I have a
> script for that,

Most of the times you don't even need a script. Simply use Git's built-in 
alias feature.

Add this to your ~/.gitconfig file.

-----------------
[alias]
    # to list these alias via 'git alias'
    alias = config --get-regexp ^alias\\.
    one = show -s --pretty='format:%h (%s)'
    l = log --pretty='format:%h %ad %s' --date=short
    lg = log --graph --decorate --pretty=oneline --abbrev-commit
    changelog = !sh -c 'git log --pretty=short master..develop | git shortlog'
-----------------


I probably have 50 of these for various things I need. And if I can't remember 
the command/alias, then 'git alias' (the first entry) helps me out. :)


G.



_______________________________________________
fpc-devel maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to