add 'file' in the title

This commit is contained in:
Karthik Siddarth Durai 2019-10-20 16:37:33 +05:30
parent 59a20d6e52
commit 6ad5cd1aee
1 changed files with 2 additions and 2 deletions

View File

@ -109,7 +109,7 @@ All commands should work for at least git version 2.13.0. See the [git website](
- [Clone all submodules](#clone-all-submodules)
- [Remove a submodule](#remove-a-submodule)
- [Miscellaneous Objects](#miscellaneous-objects)
- [Copy a folder from one branch to another](#copy-a-folder-from-one-branch-to-another)
- [Copy a folder or file from one branch to another](#copy-a-folder-or-file-from-one-branch-to-another)
- [Restore a deleted file](#restore-a-deleted-file)
- [Delete tag](#delete-tag)
- [Recover a deleted tag](#recover-a-deleted-tag)
@ -1592,7 +1592,7 @@ $ rm -rf .git/modules/submodulename
## Miscellaneous Objects
### Copy a folder from one branch to another
### Copy a folder or file from one branch to another
```sh
$ (my-branch)$ git checkout <branch-you-want-the-directory-from> -- <folder-name or file-name>