Question about Github | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Question about Github

If i want to link a database to a project in my github (and i need to provide some passwords to it for linking) or something, can i hide it from other users so that they could never see that when they fork my project.Is it possible ??

12th Jun 2021, 11:59 AM
sid
sid - avatar
3 Answers
+ 1
You can't hide specific files in public repositories. All sensitive data should be kept locally on your computer. You can use gitignore to keep git from tracking such files.
12th Jun 2021, 1:04 PM
Leon Vila
Leon Vila - avatar
+ 2
Shahboz Razzoqov Leon Vila sid Let's be friends on GITHUB 😇 ....i will follow back.... 💕💕💕💕💕💕
26th Aug 2021, 6:16 PM
Suchismita
Suchismita - avatar
+ 1
Hi) If you donʼt choose the public version, no-one can't see your repository
12th Jun 2021, 12:31 PM
Shakhboz Razzokov
Shakhboz Razzokov - avatar