HackerTrans
TopNewTrendsCommentsPastAskShowJobs

How to(github.com)

3 points·by mrlowlevel·vor 2 Jahren·1 comments
github.com
How to

https://github.com/adri1wald/howto

1 comments

mrlowlevel·vor 2 Jahren
A 15 minute side project I cooked up on a late Monday night.

Fun examples:

```

  howto git:(main) howto "print hello world" | sh
  hello world

  howto git:(main) howto "rebase changes from a branch B onto main that was branched off from a branch A that has now been squashed into main"
  git checkout B && git rebase --onto main A B

  howto git:(main) howto "update macos"
  softwareupdate --all --install --restart

  howto git:(main) howto "list all direct non-empty child directories in current directory, each directory on a new line with no additional details" | sh
  target
  .git
  src
```