[24066] 2015-07-07_如何清洗GitRepo代码仓库

文档创建者:s7ckTeam
浏览次数:25
最后更新:2025-01-18
2015-07-07_如何清洗GitRepo代码仓库   G i t   R e p o   L i n u x   2 0 1 5 - 0 7 - 0 7   G i t   R e p o     J a r     G i t   R e p o   A t l a s s i a n     G i t   R e p o     G i t     G i t   1 .   g i t   g c   - - a u t o 1 .   $   d u   - h s   . g i t / o b j e c t s 2 .   4 5 M   . g i t / o b j e c t s 1 .   g i t   f i l t e r - b r a n c h   - - f o r c e   - - i n d e x - f i l t e r   ' g i t   r m   - - c a c h e d   - - i g n o r e - u n m a t c h   * * * * / n o h u p . o u t '   - - p r u n e - e m p t y   - - t a g - n a m e - f i l t e r   c a t   - -   - - a l l 2 .   g i t   f i l t e r - b r a n c h   - - i n d e x - f i l t e r   ' g i t   r m   - - c a c h e d   - - i g n o r e - u n m a t c h   * * * * / n o h u p . o u t '   H E A D 3 .   g i t   f o r - e a c h - r e f   - - f o r m a t = " % ( r e f n a m e ) "   r e f s / o r i g i n a l /   |   x a r g s   - n   1   g i t   u p d a t e - r e f   - d
  2   1 .     2 G   2 .     b f g - r e p o - c l e a n e r   J a v a   线     g i t   G i t   G i t   G i t   1 .   g i t   r e f l o g   e x p i r e   - - e x p i r e = n o w   - - a l l 2 .   g i t   g c   - - p r u n e = n o w 3 .   g i t   p u s h   - - a l l   - - f o r c e 4 .   g i t   p u s h   - - a l l   - - t a g s   - - f o r c e 1 .   j a v a   - j a r   b f g - 1 . 1 1 . 7 . j a r   - - d e l e t e - f i l e s   * . z i p   m y r e p o . g i t 2 .   j a v a   - j a r   b f g - 1 . 1 1 . 7 . j a r   - - d e l e t e - f i l e s   * . l o g   m y r e p o . g i t 3 .   j a v a   - j a r   b f g - 1 . 1 1 . 7 . j a r   - - d e l e t e - f i l e s   * . o u t   m y r e p o . g i t 4 .   j a v a   - j a r   b f g - 1 . 1 1 . 7 . j a r   - - s t r i p - b l o b s - b i g g e r - t h a n   1 M   m y r e p o . g i t 1 .   g i t   c l o n e   - - b a r e   / v a r / w w w / h t m l / m y r e p o . g i t 1 .   g i t   a d d   . 2 .   g i t   c o m m i t   - - a m e n d 3 .   g i t   p u s h   o r i g i n   m a s t e r   - f 1 .   g i t   c h e c k o u t   . 1 .   g i t   r e s e t   - - h a r d   H E A D ^ 2 .   g i t   p u s h   - f   o r i g i n   H E A D ^ : m a s t e r 1 .   g i t   r e v - p a r s e   H E A D   >   v e r s i o n . t x t
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则