anthonyche / TechFantasy.Github.io

Zen of Tech
3 stars 0 forks source link

How to Push #5

Open anthonyche opened 2 years ago

anthonyche commented 2 years ago

GitHub Tutorial 1: How to push

I am just using this to upload some of my personal stuff and use this as a function use

About how to Push github to github via terminal

    First Step : cd To the directory where you place the project

    For example: 
    cd /Users/chehaolai/Desktop/Anthony in CWRU/HPC/MyDataSet

    Second Step:git init
截屏2021-11-02 01 14 57
    Third Step:  git add .

    Fourth Step(Optional): git status 

    Fifth Step: git commit -m "First Commit"

    Sixth Step: git remote add origin git@github.com:anthonyche/JustToTest.git

    Seventh Step: git push -u origin master
    Or git push -u origin main              #(default)