Permalink
Browse files

Use formatting appropriately

  • Loading branch information...
1 parent 2c362b3 commit ad1ce0e969c6dfdcb164c0f3709201f2316ee386 @dsas dsas committed Jan 7, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 chap2.tex
View
@@ -346,7 +346,7 @@ \subsection{Uh-Oh I Think I Made A Mistake}
He grabbed at the keyboard, ``Here, lemme show you.''
\end{trenches}
-The git reset is great at removing things from the index that you don't want to be there.
+The \indexgit{reset} command is great at removing things from the index that you don't want to be there.
Of course, it can do a great many other things, but for now, let us concern ourselves with the scenario presented above.
We are working away, and have added a number of files into the index ready for committing, when we discover that we are actually not ready to commit them.
In the following example, we are going to add the file my\_third\_committed\_file and then remove it from the index.
@@ -455,7 +455,7 @@ \section{Summary - John's Notes}
\subsection{Commands}
\begin{itemize}
\item\texttt{git add} - Add files into the index or staging area
-\item\texttt{git commit } - Commit files into the repository, using text editor for commit message
+\item\texttt{git commit} - Commit files into the repository, using text editor for commit message
\item\texttt{git commit -m '<Message>'} - Commit files into the repository, using the command line to supply commit message
\item\texttt{git commit -a} - Commit all tracked files into the repository that have changed, using text editor for commit message
\item\texttt{git reset <path>} - Remove file from index or staging area

0 comments on commit ad1ce0e

Please sign in to comment.