Edit file from github
- Create a new repository in github using the “+” sign on the top right of your screen.
- Use
git clone https://github.com/...
to clone the repository to your computer. - Edit your file.
git add .
git commit -m "command(whatever you want)"
git push origin master
Create repository on your computer.
- Using
cd
to the path you want to create repository. - Using
mkdir ...
to create new repository. - Using
git init
to initialize the repository. - Using
cd...
to the new created repository. - Using
touch
to create files. - Edit the files you create.
- Using
[git] git Process
最新推荐文章于 2022-07-25 11:27:17 发布