Skip to content

Instantly share code, notes, and snippets.

View chhh's full-sized avatar

Dmitry Avtonomov chhh

View GitHub Profile
@chhh
chhh / git-branches-by-commit-date.sh
Created September 28, 2021 21:50 — forked from jasonrudolph/git-branches-by-commit-date.sh
List remote Git branches and the last commit date for each branch. Sort by most recent commit date.
# Credit http://stackoverflow.com/a/2514279
for branch in `git branch -r | grep -v HEAD`;do echo -e `git show --format="%ci %cr" $branch | head -n 1` \\t$branch; done | sort -r
@chhh
chhh / ArchLinuxWSL2.md
Created April 29, 2021 06:59 — forked from ld100/ArchLinuxWSL2.md
Steps for setting up Arch Linux on WSL2

Migrating from Ubuntu on WSL to ArchLinux on WSL2

Upgrading to WSL 2

  • Download WSL2 Kernel
  • run wsl --set-default-version 2 in windows command line, so that all future WSL machine will use WSL2.

Installing Arch Linux