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

GITHUB COMMAND #3

Open
lolicnea opened this issue Mar 16, 2018 · 2 comments
Open

GITHUB COMMAND #3

lolicnea opened this issue Mar 16, 2018 · 2 comments

Comments

@lolicnea
Copy link

lolicnea commented Mar 16, 2018

參考: https://github.com/cccnqu/course/wiki/Git

加入新檔案後上傳用這些指令

git add -A
git commit -m "add exercise1"
git push origin master

有問題的話,可以做這些指令

git config --global user.email "loliconkea@gmail.com"
git config --global user.name "lolicnea"
git pull origin master
 

上傳後,把 github 網頁的網址貼到 rawgit 上

@rolf0504
Copy link

GJ

@zse1999723
Copy link

483  cd wd106b/
  484  ls
  485  git remote add upstream git://github.com/cccnqu/wd106b.git
  486  git fetch upstream
  487  git pull upstream master
  488  pwd
  489  pwd
  490  cd Desktop/
  491  ls
  492  mkdir 110610519
  493  cd 110610519/
  494  ls
  495  git clone https://github.com/zse1999723/wd106b.git
  496  pwd
  497  git add -A
  498  cd wd106b/
  499  pwd
  500  git add -A
  501  git commit -m "add exercse1.html"
  502  git push origin master
  503  git credential-osxkeychain erase
  504  git push origin master
  505  git push origin master
  506  zse1999723
  507  git push origin master
  508  git push origin master
  509  history

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

3 participants