国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 開發設計 > 正文

源代碼之Git團隊開發

2019-11-09 18:42:12
字體:
來源:轉載
供稿:網友
01. 建立代碼倉庫(專門用于團隊開發的代碼倉庫)================================================================================# 切換目錄$ cd /Users/Desktop/git演練/公司/weibo# 建立空白代碼庫(專門用于團隊開發)$ git init --bare02. 項目經理準備項目(前奏)================================================================================# 切換目錄$ cd /Users/Desktop/git演練/經理# "克隆"代碼庫到本地$ git clone /Users/Desktop/git演練/公司/weibo/# 個人信息配置(因為要演示一臺機器上的多人協作,日常開發可以忽略)$ git config user.name manager$ git config user.email manager@163.com.gitignore--------------------------------------------------------------------------------.gitignore可以指定哪些文件不納入版本庫的管理參考網址:https://github.com/github/gitignore# 命令行中進入與.git同級的目錄$ cd /Users/Desktop/git演練/經理/weibo將以下命令一次性粘貼到命令行中--------------------------------------------------------------------------------echo -e "# Xcode#build/*.pbxuser*.mode1v3*.mode2v3*.perspectivev3xcuserdata*.xccheckout*.moved-asideDerivedData*.hmap*.ipa*.xcuserstate# CocoaPods## We recommend against adding the Pods directory to your .gitignore. However# you should judge for yourself, the PRos and cons are mentioned at:# http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control## Pods/" > .gitignore--------------------------------------------------------------------------------# 將.gitignore添加到代碼庫$ git add .gitignore03. 創建項目================================================================================提交同時"push"到遠程代碼倉庫04. 新人加入================================================================================...05. 分布式的代碼庫 - 僅供參考================================================================================由于git是分布式的,任何一臺計算機上都保留有完整的代碼庫的內容,因此可以把團隊開發的代碼庫放在任何位置
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 巴楚县| 宿迁市| 金山区| 葵青区| 文水县| 邵武市| 奇台县| 基隆市| 河池市| 通榆县| 潮安县| 敖汉旗| 巩留县| 南部县| 鄂州市| 襄城县| 海伦市| 江阴市| 河东区| 大方县| 梁平县| 通州市| 商水县| 观塘区| 澳门| 三原县| 阿坝| 调兵山市| 饶阳县| 赤壁市| 黄平县| 克东县| 全南县| 龙口市| 驻马店市| 同江市| 新密市| 英德市| 张北县| 枣庄市| 苗栗市|