github只是一个代码仓库,git的命令行你学会就行,常用的就几个
git clone
git pull
git commit
git push
git checkout
git merge
你多用用就行了,这只是工具。
你要学的是git的用法
pro git和git权威指南这两本书学透了就够用了,里面也包含了github、gitlab、gerrit等主流代码托管平台的用法
[quote][pid=505348105,26190900,1]Reply[/pid] Post by [uid=19874886]batforever03[/uid] (2021-04-04 15:18):
github只是一个代码仓库,git的命令行你学会就行,常用的就几个
git clone
git pull
git commit
git push
git c......[/quote]git add... 这个漏了那这一大堆都没用
git reset --hard[img]http://img.nga.178.com/attachments/mon_201209/14/-47218_5052bc7a0ee49.png[/img]
[quote][pid=505348445,26190900,1]Reply[/pid] Post by [uid=39231981]Gyrodrill[/uid] (2021-04-04 15:20):
git add... 这个漏了那这一大堆都没用[/quote]其实大多数现在的开发工具都能帮你做,可能用的最多的反倒是clone和remote [s:ac:哭笑]
git stash 也用用 带过的新手都不用这个命令[img]http://img.nga.178.com/attachments/mon_201209/14/-47218_5052bc4cc6331.png[/img]
你要是能把《Git权威指南》看一遍的话,基本上可以吊打95%的普通GIT使用者了。