diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-04-21 15:08:48 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-04-21 15:08:48 -0400 |
commit | 627e50f6bc3c60a31e67695047415c2d2e072e3d (patch) | |
tree | 767271b3078b4b33876742837992f7a98faab3ed | |
parent | 192f712f8fe8ea6969140231be88fe086300018d (diff) |
mention gitlab
-rw-r--r-- | doc/tips/centralized_git_repository_tutorial.mdwn | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/tips/centralized_git_repository_tutorial.mdwn b/doc/tips/centralized_git_repository_tutorial.mdwn index 8088e7d23..9f2d15cb4 100644 --- a/doc/tips/centralized_git_repository_tutorial.mdwn +++ b/doc/tips/centralized_git_repository_tutorial.mdwn @@ -1,13 +1,13 @@ The [[walkthrough]] builds up a decentralized git repository setup, but git-annex can also be used with a centralized bare repository, just like git can. This tutorial shows how to set up a centralized repository hosted on -GitHub. +GitHub on GitLab or your own git server. ## set up the repository, and make a checkout I've created a repository for technical talk videos, which you can [fork on Github](https://github.com/joeyh/techtalks). -Or make your own repository on GitHub (or elsewhere) now. +Or make your own repository on GitHub (or GitLab elsewhere) now. On your laptop, [[install]] git-annex, and clone the repository: @@ -21,12 +21,14 @@ located: init my laptop ok Let's tell git-annex that GitHub doesn't support running git-annex-shell there. + + # git config remote.origin.annex-ignore true + This means you can't store annexed file *contents* on GitHub; it would really be better to host the bare repository on your own server, which would not have this limitation. (If you want to do that, check out -[[using_gitolite_with_git-annex]].) - - # git config remote.origin.annex-ignore true +[[using_gitolite_with_git-annex]].) Or, you could use GitLab, which +*does* [support git-annex on their servers](https://about.gitlab.com/2015/02/17/gitlab-annex-solves-the-problem-of-versioning-large-binaries-with-git/). ## add files to the repository |