You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add the line below to my "foo" repo's .gitconfig, .git/config, .lfsconfig. The line is what is suggested by the /mgmt page.
[lfs]
url = "http://mywebsite.com:9999/"
Verify that pngs are tracked by checking git lfs ls-files and the contents of .gitattributes which all look good.
Still on local, in some other directory, do git clone /path/to/foo myfooclone
Back in foo repo, do git remote add origin /path/to/myfooclone
In foo repo, do git push origin master.
At this step, I expect it to push the commits to myfooclone, but upload LFS objects to the lfs.url. Instead, I just get a regular push as if git lfs wasn't doing anything. No errors, no activity on the git lfs server logs, no requests for authentication.
Ideas?
The text was updated successfully, but these errors were encountered:
I should note that it works completely fine if my remote is something like [email protected]:bar.git, but I would intuitively expect that pushing to any "remote", even if the "remote" is on my own local HD, would trigger the LFS upload?
Steps:
mkdir foo && cd foo && git init
git lfs install && git lfs track "*.png" && cp /some/file.png . && git add file.png && git commit
.gitconfig
,.git/config
,.lfsconfig
. The line is what is suggested by the /mgmt page.git lfs ls-files
and the contents of.gitattributes
which all look good.git clone /path/to/foo myfooclone
git remote add origin /path/to/myfooclone
git push origin master
.At this step, I expect it to push the commits to
myfooclone
, but upload LFS objects to thelfs.url
. Instead, I just get a regular push as if git lfs wasn't doing anything. No errors, no activity on the git lfs server logs, no requests for authentication.Ideas?
The text was updated successfully, but these errors were encountered: