megacolorboy

Back

Published on April 10th, 2021

Git

Perform Git operations using path directory

The flag means the path of the directory and using this flag, you can perform any Git operations outside the project's directory without having to enter the directory all the time:Hope this tip helps you out!

1 minute read

The -C flag means the path of the directory and using this flag, you can perform any Git operations outside the project's directory without having to enter the directory all the time:


git -C /path/to/directory 

Hope this tip helps you out!