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
11a8f3aa
Commit
11a8f3aa
authored
Apr 07, 2022
by
Anton Smith
Committed by
Amy Qualls
Apr 07, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change master branch to main
parent
7dcb1383
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
doc/topics/git/lfs/index.md
doc/topics/git/lfs/index.md
+2
-2
No files found.
doc/topics/git/lfs/index.md
View file @
11a8f3aa
...
...
@@ -62,7 +62,7 @@ Git as usual without redoing the command to track a file with the same extension
cp
~/tmp/debian.iso ./
# copy a large file into the current directory
git add
.
# add the large file to the project
git commit
-am
"Added Debian iso"
# commit the file meta data
git push origin ma
ster
# sync the git repo and large file to the GitLab server
git push origin ma
in
# sync the git repo and large file to the GitLab server
```
**Make sure**
that
`.gitattributes`
is tracked by Git. Otherwise Git
...
...
@@ -85,7 +85,7 @@ If you already cloned the repository and you want to get the latest LFS object
that are on the remote repository, such as for a branch from origin:
```
shell
git lfs fetch origin ma
ster
git lfs fetch origin ma
in
```
Make sure your files aren't listed in
`.gitignore`
, otherwise, they are ignored by Git
...
...
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