“git abaikan perintah folder” Kode Jawaban

git abaikan perintah folder

$ touch .gitignore
Alert Alligator

Gitignore mengecualikan folder

# Ignore all directories, and all sub-directories, and it's contents:
*/*

#Now ignore all files in the current directory 
#(This fails to ignore files without a ".", for example 
#'file.txt' works, but 
#'file' doesn't):
*.*

#Only Include these specific directories and subdirectories:
!wordpress/
!wordpress/*/
!wordpress/*/wp-content/
!wordpress/*/wp-content/themes/
!wordpress/*/wp-content/themes/*
!wordpress/*/wp-content/themes/*/*
!wordpress/*/wp-content/themes/*/*/*
!wordpress/*/wp-content/themes/*/*/*/*
!wordpress/*/wp-content/themes/*/*/*/*/*
Witty Wallaby

Jawaban yang mirip dengan “git abaikan perintah folder”

Pertanyaan yang mirip dengan “git abaikan perintah folder”

Lebih banyak jawaban terkait untuk “git abaikan perintah folder” di Shell/Bash

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya