@[email protected]M to [email protected]English • 9 months agoWhat's the most creative or unconventional use of Git you've encountered?message-square23fedilinkarrow-up149arrow-down11file-text
arrow-up148arrow-down1message-squareWhat's the most creative or unconventional use of Git you've encountered?@[email protected]M to [email protected]English • 9 months agomessage-square23fedilinkfile-text
minus-square@[email protected]linkfedilinkEnglish2•9 months agoI just discovered from So You Think You Know Git - FOSDEM 2024 that you can use Git to generate columns: seq 1 24 | git column --mode=column --padding=5 Will render: 1 3 5 7 9 11 13 15 17 19 21 23 2 4 6 8 10 12 14 16 18 20 22 24 It can be useful to list files / permissions in a directory in multiples columns ls -lah | git column --mode=column --padding=5 (Ok, it’s useless)
I just discovered from So You Think You Know Git - FOSDEM 2024 that you can use Git to generate columns:
seq 1 24 | git column --mode=column --padding=5
Will render:
1 3 5 7 9 11 13 15 17 19 21 23 2 4 6 8 10 12 14 16 18 20 22 24
It can be useful to list files / permissions in a directory in multiples columns
ls -lah | git column --mode=column --padding=5
(Ok, it’s useless)