Comments (5)
Насколько я понял можно по русски?
zamtmn@zamtmn:~/test/zcad$ ls $(git rev-list --objects --all | grep "$(git verify-pack -v .git/objects/pack/*.idx | sort -k 3 -n | tail -4096 | awk '{print $1}')" | awk '{print $2}' | sort -u ) >/dev/null
bash: /bin/grep: Слишком длинный список аргументов
остальное сделал, проверьте пжст
from zcad.
Hi @zamtmn .
Это удалило из истории каталог cad
, что сократило её на 10М (было 39М, стало 29М). Неплохо.
Но осталось ещё куча мусора в других каталогах и тут уже такого простого рецепта (cad/*
) не будет. Да и саму историю я бы привёл в удобочитаемый вид (склеил бы маленькие коммиты) с помощью git rebase -i хэш_коммита
, установив squash
напротив мелких хэшей. Например, склеил бы последние 4 коммита. Хэш пятого от конца можно посмотреть через git log
.
PS: По моим оценкам для такого количества коммитов "чистая" история будет в районе 20М, так что возня с выкорчёвыванием отдельных файлов имеет мало смысла. А вот сократить кол-во коммитов и сделать их тем самым более осмысленными стоит.
from zcad.
Я не настолько хорошо знаю гит. Если у Вас есть желание помочь - давайте дам доступ
from zcad.
Hi @zamtmn .
Пока нет. Времени нету. А здесь спешка неуместна. Нужно держать всегда резервную копию и пошагово проводить мержи. Возможно позже время будет, тогда и "постучусь". Сюда же. Пока же закрываю. От лишних глаз.
from zcad.
Ок. спасибо!
from zcad.
Related Issues (20)
- Размеры сохраняются неправильно
- Проблемы сохранения
- объект: Текст. Смещен при открывании (Оbject: Text. Offset when opened) HOT 2
- Object: Rotated dimension. Text is displayed in different sizes HOT 1
- Object: Hatching within a block. Displayed incorrectly HOT 1
- Object: Hatching. Incorrect color display HOT 2
- Object: Text. Disappears when zooming in/out HOT 4
- Object: Text 2 bugs. The text is displayed out of line. The text when moving the screen catches up with the graphics HOT 1
- Object: 2D polyline. The line type is not displayed (dashed, etc.) HOT 1
- ZCAD does not work on not English or Russian systems HOT 1
- Object: 2D polyline. 2D polyline (open) becomes 3D polyline (closed). HOT 1
- Selection. On the proposed objects, the selection is very greedy. HOT 1
- Polylines lose centralization HOT 1
- Copy to clipboard error HOT 1
- Баг при копировании дуг (не через буфер) HOT 1
- Неправильно открывается размер, текст смещен HOT 2
- Самораскрытие папок в навигаторе HOT 1
- Неверное отображение %%D и %%C в тексте
- Объект: Блок. Неправильная координата отображения, при открытии происходит смещение HOT 1
- Объект: Не работает блок внутри блока HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zcad.