Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pm90
on Oct 27, 2019
|
parent
|
context
|
favorite
| on:
Git repository summary on your terminal
I thought this committed all my terminal commands to a git repo. It doesn’t but now I want something like that.
ball_of_lint
on Oct 27, 2019
|
next
[–]
I hashed together something like this in my dotfiles a few years ago. Big parts were logging each command run to my own history files (marked with machine and date), rotating those logs, and a cronjob to sync it with GitHub.
Only took a few hours to set up.
throwawaytoday5
on Oct 27, 2019
|
prev
|
next
[–]
Do you mean bash/zsh profiles or recent command history?
pm90
on Oct 27, 2019
|
parent
|
next
[–]
Command history
jjjbokma
on Oct 27, 2019
|
root
|
parent
|
next
[–]
script -f filename ?
dennisy
on Oct 27, 2019
|
prev
[–]
You could do that with a GitHub action quite easily.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: