Showing posts with label Git. Show all posts
Showing posts with label Git. Show all posts

Saturday, February 22, 2014

Making a Deployment Package From a Git Repository

I have a Django application in a git repository, and the whole thing needs to be moved to a server. I want to copy the application, but I don't want to drag the git repository info along with it.

Wednesday, December 16, 2009

Using Git locally for revisions and backups

Git is great. You will probably see me mention it alot here. Or you might not, since it is one of those tools that should just become invisible in the background. If you are used to working on a centralized version control system (like Subversion) you probably have a scenario like this:
  • Create a branch on the server for your changes and copy from the trunk.
  • Work locally, and periodically commit changes back to the branch as a backup.
  • Merge the changes back to the trunk when they are ready.
That all works well. But when you are working on something locally (for example, some CakePHP web pages in a local www directory for your local apache installation) you want the same kinds of benefits: you want to be able to roll back to previous versions if needed and you want to have the assurance of backing up your code somewhere. In git, you can do those as two separate functions.