Difference between revisions of "Git -C"
Jump to navigation
Jump to search
↑ https://stackoverflow.com/a/33557279
Line 18: | Line 18: | ||
* {{git pull}} | * {{git pull}} | ||
* {{git fetch}} | * {{git fetch}} | ||
+ | * {{git -C}} | ||
[[Category:Git]] | [[Category:Git]] |
Revision as of 12:46, 22 October 2024
git -C <path> run as if git was started in <path> instead of the current working directory.
- Pull subdirectories:
git fetch -C /path/to/git/folder
Related
See also
git pull
[-v | -a
]git request-pull
,git pull origin master
Pull Request (PR),--no-rebase, --rebase
git fetch, --all
,git auto-fetch
,git -C
git -C
Advertising: