Skip to content

Commit 77abda0

Browse files
authored
Address chktex remarks in 01-git (#30)
1 parent 5edc4ec commit 77abda0

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

01-git/01-git.tex

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ \section{Basic Git commands}
218218
\footnotesize
219219
A lightweight convention for commit messages that enables readable history and automation. See \href{https://www.conventionalcommits.org/}{conventionalcommits.org}
220220
\begin{itemize}
221-
\item Format: \texttt{type(scope)!: subject}
221+
\item Format: \texttt{type (scope)!: subject}
222222
\item Common types: \texttt{feat}, \texttt{fix}, \texttt{docs}, \texttt{style},
223223
\texttt{refactor}, \texttt{test}, \texttt{chore}, \texttt{perf}, \texttt{build}, \texttt{ci}
224224
\item \textbf{scope} is optional; \textbf{subject} is imperative, no period
@@ -228,12 +228,12 @@ \section{Basic Git commands}
228228

229229
\begin{frame}{Conventional Commits: Examples}
230230
\begin{block}{Examples}
231-
\texttt{feat(auth): add OAuth2 login}\newline
232-
\texttt{fix(api): handle 404 on users endpoint}\newline
233-
\texttt{docs(readme): clarify local setup steps}\newline
234-
\texttt{refactor(core)!: remove legacy sync path}\newline
235-
\texttt{BREAKING CHANGE: sync() removed; use syncAsync()}\newline
236-
\texttt{test(router): add coverage for redirects}
231+
\texttt{feat (auth): add OAuth2 login}\newline
232+
\texttt{fix (api): handle 404 on users endpoint}\newline
233+
\texttt{docs (readme): clarify local setup steps}\newline
234+
\texttt{refactor (core)!: remove legacy sync path}\newline
235+
\texttt{BREAKING CHANGE\@: sync\@() removed; use syncAsync\@()}\newline
236+
\texttt{test (router): add coverage for redirects}
237237
\end{block}
238238
\vspace{0.4em}
239239
Tips: keep scope small; group commits by intent; reference issues when helpful (e.g., \texttt{fix: handle null refs (closes \#123)}).
@@ -284,18 +284,18 @@ \section{Advanced Git Operations}
284284
\begin{itemize}
285285
\item Save work in progress without committing:
286286
\begin{block}{Commands}
287-
\texttt{git stash} - Save current changes\newline
288-
\texttt{git stash pop} - Apply and remove latest stash\newline
289-
\texttt{git stash list} - View all stashes
287+
\texttt{git stash} --- Save current changes\newline
288+
\texttt{git stash pop} --- Apply and remove latest stash\newline
289+
\texttt{git stash list} --- View all stashes
290290
\end{block}
291291
\end{itemize}
292292

293293
\textbf{Rebasing}:
294294
\begin{itemize}
295295
\item Rewrite commit history for cleaner timeline:
296296
\begin{block}{Commands}
297-
\texttt{git rebase main} - Replay commits on top of main\newline
298-
\texttt{git rebase -i HEAD~3} - Interactive rebase last 3 commits
297+
\texttt{git rebase main} --- Replay commits on top of main\newline
298+
\texttt{git rebase -i HEAD~3} --- Interactive rebase last 3 commits
299299
\end{block}
300300
\end{itemize}
301301
\end{frame}

0 commit comments

Comments
 (0)