I have this .gitignore
file and it successfully ignores everything but .bashrc
, Readme.md
, .gitignore
.
The problem is that .setup/setup_java.sh
is also ignored and I can't solve this issue.
*
!.bashrc
!Readme.md
!.gitignore
!.setup/setup_java.sh
Try
*
!.bashrc
!Readme.md
!.gitignore
!.setup
!.setup/setup_java.sh
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.