Skip to content

Instantly share code, notes, and snippets.

@piotrkulpinski
piotrkulpinski / .cleaninstall
Last active January 31, 2026 20:33
New macOS install script
#!/bin/sh
# Install Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Install taps
brew tap homebrew/cask
# Install cli stuff
brew install git
@piotrkulpinski
piotrkulpinski / gist:811281
Created February 4, 2011 16:12
Git commands
git remote prune origin - usuwa zdalnie usunięte branche
git reset --soft HEAD^ - cofa ostatnio wykonany commit