Version Control
Version Control is the management of versions of source documents, such as computer code. Also known as Source Code Management (SCM)
Contents |
Git
Git is a full-featured open-source distributed version control system written by Linux Torvalds and others.
Tips
Setting up a Remote for SSH
(I always forget this command...) After setting up a bare repository on somehost.somedomain, then, on your dev. machine:
% git remote add origin bob@somehost.somedomain:path_to_git_repositories/project
Color vs. ESC issues with Ubuntu
Actually, a problem with the default pager settings, according to Mac OS X color showing ESC[whatever for git-diff colors (and more).
Fix: change GIT_PAGER from more to less. Also some environment variables for less: LESS="-erX" (in /etc/profile, or wherever).
"Go ahead - just do it"
This guy/gal wrote on stackoverflow.com:
Why don't you just try it. You can always do a hard reset if it doesn't work. Just make a temporary branch at the old spot. Go on. Try it. You know you want to... – Cupcake May 30 at 2:54
Great advice - helped me change my ways...
(hint:
git checkout -b new_branch
Git References
- git
- Git - includes Pro Git Book
- Top 10 Git Tutorials for Beginners at SixRevisions.com
- Git_(software) at Wikipedia
- Gitosis and Gitweb – Part 1 – Setup
- Using Git for Samba Development
- Git Magic tutorial
- SparkleShare - Git based file-sharing (also SparkleShare at Wikipedia)
- A successful git branching model
- git source code
- How Tridge reverse engineered BitKeeper at LWN.net
- BFG Repo-Cleaner - an alternative to git-filter-branch
Subversion
Subversion is a centralized version control system which is also open-source
- Subversion (aka SVN) from Apache Foundation
- RabbitVCS Version Control GUI for Linux
- Version Control with Subversion an O'Reilly book available for free online
- Apache Subversion at Wikipedia
- TortoiseSVN - Windows GUI client (TortoiseSVN home) (TortoiseSVN at Wikipedia)
External links
- Revision control at Wikipedia