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
385d1849
Commit
385d1849
authored
Feb 17, 2017
by
Marcia Ramos
Committed by
Achilleas Pipinellis
Feb 20, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Axil's review
parent
dda62dd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
13 deletions
+10
-13
doc/workflow/lfs/migrate_from_git-annex_to_git-lfs.md
doc/workflow/lfs/migrate_from_git-annex_to_git-lfs.md
+10
-13
No files found.
doc/workflow/lfs/migrate_from_git-annex_to_git-lfs.md
View file @
385d1849
# Migration Guide from Git Annex to Git LFS
> Type: user guide
>
> Level: beginner
> GitLab EE is deprecating
[
support to **git-annex**
][
post-intro-annex
]
from version
8.
17 on (released on 2017/02/22). It
...
...
@@ -20,17 +24,14 @@ in your [local environment][install-annex-local].
On GitLab.com,
**git-annex**
was enabled, and you had
only to install it locally.
### TL;DR
### TL; DR
> We assumeyou have [git-annex enabled](#enabling-annex) in your repository.
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
...
...
@@ -183,7 +184,7 @@ To keep your repo clean, let's remove all
Git LFS is enabled by default on all GitLab products
(GitLab CE, GitLab EE, GitLab.com), therefore, you
don't need to do anything in the server
side.
don't need to do anything in the server
-
side.
First, let's make sure you have
**git-lfs**
installed
locally:
...
...
@@ -193,11 +194,7 @@ $ git lfs help
```
If the terminal doesn't prompt you with a full response
on
**git-lfs**
commands,
[
install LFS
][
install-lfs
]
first:
```
bash
$
brew
install
git-lfs
```
on
**git-lfs**
commands,
[
install LFS
][
install-lfs
]
first.
[
Enable **git-lfs**
][
lfs-track
]
for the group of files you
want to track with it. You can track specific files, all
...
...
@@ -235,7 +232,7 @@ Once you do that, run `git status` and you'll see
file patterns that you chose to track via
**git-lfs**
.
To see
**git-lfs**
working, look at the project's size (in
b
i
tes), update one of your files, and push a change
b
y
tes), update one of your files, and push a change
to the remote.
-
Repo size: 492 KB
...
...
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