Add: git rebase -i -> squash. Closes #244.

This commit is contained in:
Kolan Sh 2013-07-08 19:29:11 +04:00
parent 6db116c1d1
commit ea0d36b89f
1 changed files with 16 additions and 0 deletions

View File

@ -1636,6 +1636,22 @@ git commit -m
# во второй коммит.
\end_layout
\begin_layout Standard
Объединение нескольких коммитов в один можно выполнить ещё проще:
\end_layout
\begin_layout LyX-Code
git rebase -i -p HEAD~5
\end_layout
\begin_layout LyX-Code
# редактирование: заменить 'pick' на 'squash' для коммитов,
\end_layout
\begin_layout LyX-Code
# которые хотим объединить, сохранить.
\end_layout
\begin_layout Subsubsection
Выделение поддиректории в отдельный репозиторий
\end_layout