by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Markonius
@markonius
ok i fugred it out
i had to redirect the whole file into it
karolflis
@karolflis
Hey guys. Do you guys have the preferred way to use git lfs with jenkins in scripted pipeline? I'm using GitLFSPull for scm checkout, but it doesn't really download the 90 MB of files.
Francis West
@badape-net
my project has grown, i was thinking about rebasing because my game assets are getting too big
buumi
@buumi
Hey, a bit confused about setup needed for LFS. Is this correct: running git lfs install in any folder installs some needed settings to global gitconfig file. In addition to that repository needs to have git hooks for post-checkout, post-commit, post-merge and pre-push? And these are usually installed automatically while performing LFS operations on the repository? But if my repository already has custom hooks, i need to manually install these there? Or is some part of the setup obsolete/incorrect?
Pankaj Jain
@pankajpj07
@pankajpj07
https://rivertab.com/donate-to-us/
hello friends
i am developing this free website for people
to find room or pg for living
help us through donating any sort of amount to us
Mateusz Łoskot
@mloskot
@pankajpj07 Stop spamming
matrixbot
@matrixbot
Balin I need to migrate data from one institutional git provider to another. My repos include lfs'ed files. Does a git clone <PROJECT_URL> && cd <PROJECT_DIR> && git lfs install --local && git lfs pull workflow prior to changing the origin remote and pushing again retrieve ALL lfs history or just the current versions?
Mateusz Łoskot
@mloskot
git lfs fetch origin --all
You don't need to change origin, just add new remote
and then you can git lfs push --all newremote as per https://github.com/git-lfs/git-lfs/issues/516#issuecomment-140002103
Once you are happy with the migration, update origin in local repo(s)
matrixbot
@matrixbot
Balin Mateusz Łoskot (Gitter): Terrific. Thank you so much for your help ... got hit by the fact that the importer of the new institutional product migrates the lfs stubs, but not the underlying data, while happily recognizing the stub and telling you the file is lfsed ... with a non-exisiting pointer ... LOVELY.
matrixbot
@matrixbot
Balin This also helps in this context: git remote rename origin old-origin
Mateusz Łoskot
@mloskot
Yes
matrixbot
@matrixbot
Balin Here's what I do now:
Balin 1) git clone GITHUB_REPO
2) cd REPO_DIR && git lfs install --local
3) git lfs fetch origin --all
4) git lfs pull
5) git remote rename origin old-origin
6) git remote add origin git@<NEW_URL>:<NEW_REPO>.git
7) git push -u origin --all
8) git push -u origin --tags
Balin Reads about right?
Mateusz Łoskot
@mloskot
I think so
Amit Prasad
@amitprasad01_twitter
What is the disadvantage of multiple repo
for single project
sumanchowdare
@sumanchowdare
@all did any one impelemented github scanner(To scan scerets or credentials if we commit bymistake to github it has scan)
for more info https://github.com/dxa4481/truffleHog
Can anyone help me setup this ?
AlexTzib
@AlexTzib
hello people
Mahdad Baghani
@Mahdad-Baghani
Hi there. I want to clone a large repo using git lfs, but my windows parition does not have enough space and unfortunaltely, that is the tempDir of git lfs. I wanted to know if there is a way to change the tempDir which is shown in the output of command "git lfs env"
Mahdad Baghani
@Mahdad-Baghani
I finally figured out how to change the tempDir. this may be useful to others so I'm posting it here:
git config --global lfs.tempdir "some directory"
pxwee5
@pxwee5
Help!

I installed everyting properly.

  1. Added a test.jpg file in root (it is tracked)
  2. Running git lfs status shows that file to be committedcategory
  3. After I commit test.jpg
  4. Running git lfs status does not show that file in to be pushed category

What am I doing wrong ?

That hooks are all updated using git lfs update
John Skoteiniotis
@j0hnskot
Hi, how can I config git to pull lfs files with git clone? I'm trying to write a backup script which works fine but all the cloned repos don't have the lfs files. For some reason my laptop is doing what I want but my server doesn't behave the same :(
Mateusz Łoskot
@mloskot
@j0hnskot after installing Git LFS, You should be ready to go, no additional configs should be needed and git clone just pulls all LFS
Bas Nijholt
@basnijholt
This message was deleted
GeorgeR
@GeorgeR
hello - i have an issue where i'm trying to push to a new repo, but git lfs is giving me 'unable to find source for object'
i do not have access to the original repo, how can i remove these files?
so all i have is the files in their current state
Mateusz Łoskot
@mloskot
@geraldolsribeiro your case seems similar to this, git-lfs/git-lfs#3923, there are pieces of good advice in comments
Amit Prasad
@amitprasad01_twitter
@here
Hi All
I have a problem of using the data and form the response in case class
lets say i have Seq[CaseA(uuid, data)] and Seq[CaseB(uuid,Data1,Data2)] and Seq[CaseC(uuid,Datax,Datay)]
I want to form the reponse from all based on common UUID
Any help will be appreciated.
bcheerla4509
@bcheerla4509
git lfs fetch
fetch: Fetching reference refs/heads/master
batch response: Authentication required: Unable to parse HTTP response for POST : ../.. invalid character '\n' in string literal
error: failed to fetch some objects from ...
any pointers on the solution?
Wu-Jung Lee
@leewujung
Hello All
I am trying to migrate some large files currently sitting in a github repo to use LFS, but I am at lost on what would happen to the existing forks once the history is "rewritten" after using the BFG-repo-cleaner. Does anyone have experience on this and have comments or workflow for reference?
Any help is much appreciated!
Yair Ivan Medina Cota
@yairi.medinac_gitlab
hello
Hrishikesh Bawane
@hrishibawane
Hey guys, I am eager to get started with open source contributions on git but as many beginners I am confused about where to start! Any help would be appreciated. This is my github link if you want to check out: https://github.com/hrishibawane
Shahar Evron
@shevron
Hello all, I'm wondering if there has ever been a discussion on allowing some custom metadata attributes to be specified as part of the batch API. Specifically, it could help us if there was a way to specify the file's original name for upload / download batch API operations. I've seen this mentioned here: git-lfs/git-lfs#850 but this was never merged.
So I'm wondering if there has been any other discussion on that area
Some context: I'm working on a Git LFS server implementation in Python (https://github.com/datopian/giftless) as part of a project aimed at integrating Git LFS (and git) into the CKAN data management system. I admit it's a fairly unique use case, but we really think the Git LFS protocol is the way forward for us. It does raise some unique needs, for example storing more original file metadata.
matrixbot
@matrixbot
t-summer hae guys
moorkaï
@moorkai_twitter
Hi people! I have a connection which could in no way be defined as stellar, so I've been wondering what is the proper way to resume (not restart) a clone after a connection loss. Should I just do a git checkout -f HEAD as Git suggests or something along the lines of git lfs fetch and git lfs pull?
moorkaï
@moorkai_twitter

Quoting @hrishibawane:

Hey guys, I am eager to get started with open source contributions on git but as many beginners I am confused about where to start! Any help would be appreciated. This is my github link if you want to check out: https://github.com/hrishibawane

Check the repository of the project you would like to contribute to, get acquainted with the codebase, coding style and language used, check issues and contribution guide if available. Fork the repository and make a pull request. PR feedback should provide you further guidance.