简体   繁体   中英

Make .git-ftp-ignore ignore everything except a few files / directories

例如,如何使git-ftp忽略整个目录“ foo”,而不是整个目录“ foo / bar /”?

i read somewhere that with git 2.9+ you can do it as

#untrack foo
foo/

# track foo/bar
!foo/bar/

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM