Mac github 提交更新代码
2020-03-11 本文已影响0人
码农_会写诗
1.获取你的仓库链接,选择要克隆的地方,克隆到本地
jyeducation@jingyingjiaoyudeMacBook-Pro ~ % cd /Users/jyeducation/Desktop/github
jyeducation@jingyingjiaoyudeMacBook-Pro github % git clone https://github.com/jackFantt/iosDemo.git
Cloning into 'iosDemo'...
remote: Enumerating objects: 122, done.
remote: Counting objects: 100% (122/122), done.
remote: Compressing objects: 100% (92/92), done.
remote: Total 122 (delta 23), reused 119 (delta 23), pack-reused 0
Receiving objects: 100% (122/122), 117.43 KiB | 5.00 KiB/s, done.
Resolving deltas: 100% (23/23), done.
2.按以下步骤依次输入
1.git add .
2.git commit -m ''你要更新的信息"
3.git push -u origin master (master 可替换你要提交的分支)提交时会要求你输入你的账号密码,成功后自动提交上你的仓库,完成
我添加了新的库 fmdb