Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
5242b4fb
Commit
5242b4fb
authored
Feb 14, 2017
by
Marcia Ramos
Committed by
Achilleas Pipinellis
Feb 20, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add TL;DR, identifiers in alphabetical order
parent
164fa90f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
6 deletions
+27
-6
doc/workflow/lfs/migrate_from_git-annex_to_git-lfs.md
doc/workflow/lfs/migrate_from_git-annex_to_git-lfs.md
+27
-6
No files found.
doc/workflow/lfs/migrate_from_git-annex_to_git-lfs.md
View file @
5242b4fb
...
...
@@ -20,6 +20,28 @@ in your [local environment][install-annex-local].
On GitLab.com,
**git-annex**
was enabled, and you had
only to install it locally.
### TL;DR
If you want to skip the reading and go straight to the point,
this is what you need to do:
```
bash
# Enable git-annex (what we expect you to have done so far)
$
git annex init
$
git annex add <files>
$
git commit
-m
"commit message"
$
git annex
sync
--content
# Disable git-annex
$
git annex direct
$
git annex uninit
$
git annex indirect
$
git add
.
$
git commit
-m
"commit message"
$
git push
# Enable git-lfs
$
git lfs track <files>
```
### Enabling Annex
This step is only important to remind you how did
...
...
@@ -231,21 +253,20 @@ size after pushing it again.
-
(GitLab Doc)
[
Git Annex
][
doc-1
]
-
(GitLab Doc)
[
Git LFS
][
doc-2
]
[
post-1
]:
https://about.gitlab.com/2017/01/30/getting-started-with-git-lfs-tutorial/
[
post-2
]:
https://about.gitlab.com/2015/11/23/announcing-git-lfs-support-in-gitlab/
[
post-3
]:
https://about.gitlab.com/2015/02/17/gitlab-annex-solves-the-problem-of-versioning-large-binaries-with-git/
[
doc-1
]:
https://docs.gitlab.com/ee/workflow/git_annex.html
[
doc-2
]:
https://docs.gitlab.com/ee/workflow/lfs/manage_large_binaries_with_git_lfs.html
[
annex-ee
]:
https://docs.gitlab.com/ee/workflow/git_annex.html
[
annex-vs-lfs
]:
https://workingconcept.com/blog/git-annex-vs-git-lfs
[
bkp-ext-drive
]:
https://www.thomas-krenn.com/en/wiki/Git-annex_Repository_on_an_External_Hard_Drive
[
doc-1
]:
https://docs.gitlab.com/ee/workflow/git_annex.html
[
doc-2
]:
https://docs.gitlab.com/ee/workflow/lfs/manage_large_binaries_with_git_lfs.html
[
Git Annex
]:
http://git-annex.branchable.com/
[
Git LFS
]:
https://git-lfs.github.com/
[
install-annex-local
]:
https://git-annex.branchable.com/install/
[
install-lfs
]:
https://git-lfs.github.com/
[
issue-remove-annex
]:
https://gitlab.com/gitlab-org/gitlab-ee/issues/1648
[
lfs-track
]:
https://about.gitlab.com/2017/01/30/getting-started-with-git-lfs-tutorial/#tracking-files-with-lfs
[
post-1
]:
https://about.gitlab.com/2017/01/30/getting-started-with-git-lfs-tutorial/
[
post-2
]:
https://about.gitlab.com/2015/11/23/announcing-git-lfs-support-in-gitlab/
[
post-3
]:
https://about.gitlab.com/2015/02/17/gitlab-annex-solves-the-problem-of-versioning-large-binaries-with-git/
[
post-intro-annex
]:
https://about.gitlab.com/2015/02/17/gitlab-annex-solves-the-problem-of-versioning-large-binaries-with-git/
[
stackoverflow-1
]:
http://stackoverflow.com/questions/24447047/remove-git-annex-repository-from-file-tree
[
uninit
]:
https://git-annex.branchable.com/git-annex-uninit/
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment