Categories
General things

No password prompts for GitHub “hub” client

GitHub has a little cli tool called “hub” which makes working with repos a bit easier (“hub pull-request” instead of a lot of clicking around on the web). Unfortunately they don’t really tell you how to prevent password inputs every time you use it.

Unless you dig deep:

Categories
Snippets

Git rebase interactive with very first commit visible

Ever wanted to squash the first two commits with a “git rebase -i”? No? Me neither. Until today.

Stackoverflow to the rescue:

git rebase -i --root

Done.

Categories
Uncategorized

Synology and Git, II

Don’t use the synology git package.

But then Git’s not installed.

I found a compromise:

  • Install the package
  • disable it
  • switch back the shells in /etc/passwd from <something_with_git> to /bin/sh

Be happy.