Windows無法直接新增僅有副檔名之檔案

 

1. 直接新增空檔案

  • echo > .gitignore
  •  
  • 2. 新增檔案並插入內容

  • echo "欲新增內容" >> .gitignore

 

創作者介紹
創作者 Rex-Software-Blog 的頭像
Rex

Rex-Software-Blog

Rex 發表在 痞客邦 留言(0) 人氣( 59 )