BlogPosts
From Git SCM Wiki
OBSOLETE CONTENT
This wiki has been archived and the content is no longer updated. Please visit git-scm.com/doc for up-to-date documentation.
Blog posts on Git (usage)
A lot of blog posts related to Git usage have been published since the project's birth. This page attempts to maintain a collection of contained and useful single posts which solve specific problems. Please try to make the link description as accurate and descriptive as possible.
Setup
- git-daemon setup
- Hosting Git repositories, The Easy (and Secure) Way (via ssh),
with the help of gitosis tool (Python, requires setuptools) - Git repository with Apache (via WebDAV) and gitweb (push via https).
- Setting up the Eclipse Git plugin
- Gitweb installation in 5 minutes on MacOS (see also gitweb/INSTALL and gitweb/README)
- up a repo on shared hosting which has no 'git' binary
Switching to Git and SCMs interaction
- Converting branches imported by git-svn to tags
- Using ParseCVS to convert a CVS repository to Git
- Convert repositories with fast-{export,import} is about converting Bazaar repositories to Git
- Importing SVN-maintained Debian packages into Git
- Multiple branches using git-svn
- Git and Bazaar: Subversion interoperability (in Polish)
- Moving git repositories to SVN/TFS explains how to interact with [WikiPedia:Team_Foundation_Server Team Foundation Server] via git-svn and SVNBridge.
- Change the svn url that a git-svn repository points to.
- svn->git conversion using git-svn by VMiklos describes how to use `git-svn` in place of `git-svnimport`
- Using Git with Google Code Hosting (Google Code offers Subversion hosting) via `git-svn`
- git-svn with svn:externals explains how to make submodules of externals while converting to git.
- git-svn "Howto" shortly explaining the three main commands
- Cloning a Git SVN Clone
- Local version control with git inside of a Microsoft Visual Source Safe working directory
Portability
- Setting up Git on OSX
- Building Git on AIX, HP-UX and Solaris
- Getting git-svn working on the Mac
- Getting Git-SVN to work under Cygwin
- Bring Git Joy to Windows by Matt Wynne (step by step msysGit installation)
- Git 1.6.4.4 on Windows with msysGit
Usage
- Publishing Git repositories
- awsome-ness: git rebase --interactive
- Automating Git Bisection for Rails Apps
- Setting the default branch in a bare repository
- Random tips from using Git at work
- Git overview
- Pimp your Git meme (Planet Debian):
- zsh prompt with git branch and status of rebase/merge/am/bisect
- Matching git-svn strange authors to useful email addresses
- Sharing code via email with git
- Showing an intermixed short log of a bunch of git repositories
- How to force Git to consider a file as binary, or to be more exact as not having crlf conversion (for example EPS, Encapsulated PostScript files).
- How to change the author of existing commits (for example when you committed things without first having set the git author and email address)
- Tips on using dates in Git (for example how to list commits by date range, diff between two dates, amending timestamps)
Advanced stuff
- Creating a branch without ancestry
- A Git workflow for Debian package maintenance
- Finding where a tarball came from with git
- Now, when did I send that patch again? or finding version of a file
- Git, Binary Files and Cherry Picking Patches (using
.gitattributes
to mark file as binary, cherry-picking in git) - Split a git repository into two different repos
- Git submodules describes simple sub modules usage (for a test project)
Splitting a git repository describes how to split existing repository to submodules. - Subtree merging and you describes how to use subtree merge, an alternative to submodules. See also: Documentation/howto/using-merge-subtree.txt
- Efficiently Updating Web Sites on Web Clusters on Oremj’s Blog describes how to use git instead of rsync to sync web contents to multiple web servers.
- Using Git with .mac (iFolder)
- Easy Git External Dependency Management with Giternal] (on Ruby and Rails News Site, mentions Rake task and Braid as alternate solutions)
- Managing Websites with Git using post-update hooks
- Extending your bash prompt to show git status information
- Efficient & Secure WordPress hosting provider Host and protect, extensively manages websites via Web, SecureFTP, SSH, Git and hosted Gitlab to provide secure and effective management of websites.
Praise
Like everybody else, the git developers like to be praised from time to time, too.
- Masukomi has Some thoughts on Git