* 一般人員 : 無技術字眼,主要讓一般人看得懂
* 技術人員 : 可有技術字眼,較好讓技術人員理解
* Inex - 目錄
* Why - 為什麼有這個需求說明
* Accept - 期待
#!/bin/bash | |
function gateFile(){ | |
for file in $1 | |
do | |
if [ -d "${file}" ] | |
then | |
gateFile "${file}/*" | |
fi |
# pipeline 中可以有多個 stages | |
stages: | |
- build | |
- deploy-dev | |
# 每個 stages 可以有多個 Job | |
# Job Name = ComposerAndArchive | |
ComposerAndArchive: |
##Git 忽略檔案
##.gitignore
可以在根目錄下加入 .gitignore
檔案,此設定會影響底下的子目錄
也可以在子目錄下加入 .gitignore
檔案,此設定只會影響該目錄下的檔案或file。
如果當已 commit 該檔案後,而想把此檔案移出板控可以下 :
git rm --cached 檔案名稱
移出版控