+[5 years ago]ajnrSoliton, I have changed my current working directory to your local repositoryand then excuted the above command git rm --cached giant_file here the giant_file i sthe embeding file. i gave the path , but it is not working. i may be doing wrong somewhere +[5 years ago]ajnrSoliton, Thanks - trying +[5 years ago]BtbNCan I make a step in a Github workflow conditional? +[5 years ago]BtbNI have a final step that pushes a built and tested Docker-Image to a registry. +[5 years ago]BtbNBut whenever someone forks the repo and does stuff, they get a failure e-mail for every push, because their fork obviously does not have the credentials.
Can I make a step in a Github workflow conditional?
+[5 years ago]th_any way to see the size of a repo? +[5 years ago]R2robotdu -h in your repo dir should give you an idea +[5 years ago]canton7th_, it's a tricky question to answer: a repo might be highly compressed (for efficiently transfer it over a network), or it might have removed compression in lots of places (to let you switch branches quicker without having to decompress stuff), or it might have garbage in it (because running the GC is costly). Probably the best thing is to clone +[5 years ago]canton7it with --no-hardlinks, the use du in the clone: that forces it to fully compress +[5 years ago]canton7Although that's also affected by config values like core.compression, and the ones which tell it how much effort to put into packing