1. 程式人生 > >linux 用https方式 git pull 程式碼 免密操作

linux 用https方式 git pull 程式碼 免密操作

使用這中http方式 拉去程式碼時  git clone http://[email protected]:host/xxxx專案

如下配置:

進入伺服器的專案目錄,執行

[[email protected] ~]#  git config --global credential.helper store

執行之後,繼續專案程式碼路徑git pull

[[email protected] BigData.XNYKDX.ETL]# git pull

重新輸入一遍賬號密碼。然後往後就不需要再輸入了

 

參考:https://blog.csdn.net/LJFPHP/article/details/79103679