Skip to content

Commit

Permalink
update cheat sheet
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Jul 8, 2018
1 parent ee4849f commit e3b11bf
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions _doc/sphinxdoc/source/cheatsheet/git.rst
Expand Up @@ -87,6 +87,20 @@ Example::

git rm cscode/machinelearning -f

Reset a submodule
+++++++++++++++++

::

git submodule foreach git reset --hard

Example::

git submodule foreach git reset --hard

The option ``--recursive`` does it for submodules included
in submodules.

Update a branch
+++++++++++++++

Expand Down

0 comments on commit e3b11bf

Please sign in to comment.