Commit 26f27f6c authored by Mihai's avatar Mihai

Add git revert

parent bcaf26d4
......@@ -404,8 +404,17 @@
\prompt\ \gitcmd\ \cmd{checkout}\ \cmdarg{\{commit-id\}}\ \cmdarg{\{filename\}}
It's up to you to include this file into a new commit.
To revert a commit there is a special command:
\prompt\ \gitcmd\ \cmd{revert}\ \cmdarg{\{commit-id\}}\
Note that you will be asked to introduce a new commit message.
\subsection{Explicit not tracking}
......@@ -418,8 +427,9 @@
Other files are also not meant to be tracked:
\item Password-containing files;
\item Large files.
\item Large files - use git-annex for those.
You can ignore these files by listing their names in a file called
\cmdarg{.gitignore} in your repository directory root:
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment