Arto's Notes re:
Git
$ sudo port install git +bash_completion
.gitignore
.DS_Store
README.html
*~
.gitattributes
*.min.js -diff
Remote Configuration
$ git remote add bitbucket [email protected]:bendiken/PROJECT.git
$ git remote add github [email protected]:bendiken/PROJECT.git
$ git remote add sourceforge ssh://[email protected]/p/PROJECT/code
$ git remote add unfuddle [email protected]:ACCOUNT/PROJECT.git
$ git remote rename origin github
Commit Dates
$ export GIT_AUTHOR_DATE='...'
$ export GIT_COMMITTER_DATE="$GIT_AUTHOR_DATE"
$ git ci --date='...' file.cc # overrides AuthorDate, but not CommitDate
$ git show --pretty=fuller # verify AuthorDate and CommitDate
Signed Tags
$ git ci -m 'Bumped the version to 0.1.0.' VERSION
$ git tag -s 0.1.0 -m 'Released version 0.1.0.'
$ echo 0.2.0-dev > VERSION
$ git ci -m 'Bumped the version to 0.2.0-dev.' VERSION
Subtree Merges
TODO
Maintenance
$ git remote prune origin