A A

Tag Archive | "git"

Bash Script to Force an Empty Git Push

Wednesday, April 1, 2009

0 Comments

Sometimes, like when you’re testing hooks or trying to create synced remote and local repos, you’ll find yourself touching empty files just to get a git push going. This script automates this task by creating a unique temporary file, committing it, pushing, and then removing the file. #!/bin/sh TMP=tmp-`date +'%m%s'` touch $TMP git add $TMP git commit $TMP -m '(forced [...]

GitHub Now Open to the Public

Sunday, April 13, 2008

0 Comments

GitHub.com, the “easiest (and prettiest)” version control system, is now open to the public. It’s free for Open Source programs (albeit limited to 100MB of space). If you’re not sure what git (or Revision Control) is, here are some resources: Wikipedia on Revision Control (excerpt) “Revision control (also known as version control (system) (VCS), source control or (source) [...]