Search

Dark theme | Light theme

May 30, 2009

Things I don't want to forget about Git

Simple tips for myself for using Git. I am using Cygwin's Git on Windows.

Add remote repository shortcut to make invoking git push repo master possible, instead of typing the complete remote URL each time:

$ git remote add repo ssh://username@severname/~/git-repo

Add files to ignore list by adding files to .git/.gitignore.