Git project to submit a new warehouse

Tip: Enter the project file operations

step:

1.git init ---------- initialize git repository

2.git remote add origin your project address ------------------ such as: https://gitee.com/lh_resource  / *** (links New warehouse)

3.git add. ------------- project to save all files to the cache

4.git commit -m 'comments on uploaded files' -------- submit code

5.git push -------- submitted to the repository

To submit a problem:

git push origin master -f line represents the discarded documents, forced push

Guess you like

Origin www.cnblogs.com/eplh/p/11768267.html