-
Notifications
You must be signed in to change notification settings - Fork 359
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git clone, should it also clone the hidden dot gitignore (.gitignore) #122
Comments
hi @lsatenstein ! which repository were you attempting to clone? typically yes, a |
"dotfiles" are usually hidden by default in most operating systems,.Cloning has nothing to do with .gitignore, the reason those files aren't being cloned is most likely that... well... they're ignored! So if you want to file "X" in the repo (and as a result, in clones) then simply add that file to the repo with git add -f X and commit it. for more, you also refer to the [https://github.com/git-tfs/git-tfs/issues/1291] !! |
I was cloning my git repository to a new one. One thing I discovered is the ".gitignore" was not included within the new cloned repository.
Should it be copied across as well?
The text was updated successfully, but these errors were encountered: