Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git 的用法 #3

Open
ccckmit opened this issue Mar 8, 2018 · 0 comments
Open

git 的用法 #3

ccckmit opened this issue Mar 8, 2018 · 0 comments

Comments

@ccckmit
Copy link
Contributor

ccckmit commented Mar 8, 2018

最常用的指令

$ git clone https://github.com/cccnqu/sp106b.git
$ git add -A
$ git commit -m "modify at lecture 2"
$ git push origin master

與老師的專案同步

$ git remote add upstream git://github.com/cccnqu/sp106b.git
$ git fetch upstream
$ git pull upstream master

再推回你自己的 github 中

$ git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant