How can I upload fresh code at github?

前端 未结 7 1228
孤街浪徒
孤街浪徒 2021-01-29 19:03

I have a directory with all my coding projects.

I want to upload (correct terminology?) it to GitHub using the command line.

I have already looked at Old questi

相关标签:
7条回答
  • 2021-01-29 19:42

    In Linux use below command to upload code in git
    1 ) git clone repository
    ask for user name and password.
    2) got to respositiory directory.
    3) git add project name.
    4) git commit -m ' messgage '.
    5) git push origin master.
    - user name ,password

    Update new Change code into Github

    ->Goto Directory That your github up code
    ->git commit ProjectName -m 'Message'
    ->git push origin master.

    0 讨论(0)
提交回复
热议问题