Skip to content

Commit ecc2d5e

Browse files
authored
Update GIT_NOTES.txt
1 parent 12c8a8b commit ecc2d5e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

GIT/GIT_NOTES.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,15 @@ Create a new file on external repo
406406
# git pull remotebranch localbranchname
407407
# ls //All files will be there in local as same as remote
408408

409+
Fetch only specific file from remote Master branch
410+
**********************************************
411+
412+
# git fetch --all
413+
414+
# git checkout origin/<branch_name> -- fileName
415+
416+
# git checkout origin/master -- fileDave
417+
409418
Conflicts in external and local repo.
410419
*****************************************
411420
Create a file in remote repo file5.txt ==> add text

0 commit comments

Comments
 (0)