Why git doesn't have a "git cp" command for copying?
Because git doesn't track files, it tracks content.
For git, filenames are nothing more than metadata.
How to handle ignoring files in remote repos and local one?
For remote repository, you write ignoring config set at .gitignore. This setting is shared with developers who use this remote repository.
For local repository, you write configures at .git/info/exclude. This file isn't shared with others, so you can write specific settings.
No comments:
Post a Comment