1, Reason: Recently in rewriting the source of Springboot, transformation to fit the company's architecture.
2. Steps:
(1) Git init
(2) git Add.
(3) Git remote add origin [email protected]****:* **/**.git
(4) Git push--set-upstream origin Master
May have an error:
ERROR:SRC Refspec Master does not match any.
Error:failed to push some refs to ' [email protected]****:* **/**.git '
(5) Git commit-m "initial commit"
Start uploading files.
The following content:
[Master (Root-commit) 6455A15] Initial Commit
195 files changed, 16582 insertions (+)
Create mode 100755. Cfignore
Create mode 100755. gitattributes
Create mode 100755. Mvn/wrapper/maven-wrapper.jar
Create mode 100755. mvn/wrapper/maven-wrapper.properties
Create mode 100755 Code_of_conduct.adoc
Create mode 100755 Contributing.adoc
Create mode 100755 LICENSE.txt
Create mode 100755 Readme.adoc
Create mode 100755 CIRCLE.YML
Create mode 100755 Initializr-actuator/pom.xml
Create mode 100755 initializr-actuator/src/main/resources/meta-inf/spring.factories
Create mode 100755 INITIALIZR-ACTUATOR/SRC/TEST/RESOURCES/APPLICATION-TEST-CUSTOM-STATS.YML
......
......
Slightly...
(6) Git push Origin master
The following content:
Counting objects:277, done.
Delta compression using up to 4 threads.
Compressing objects:100% (248/248), done.
Writing objects:100% (277/277), 645.84 KiB | 9.94 mib/s, done.
Total 277 (Delta), reused 0 (Delta 0)
Remote:resolving deltas:100% (77/77), done.
Remote
Remote: ========================================================================
Remote
Remote: See the [Operating manual] (Https://goo.gl/7sZ11W) If you encounter problems!
Remote
Remote: ========================================================================
......
......
Slightly...
3, complete the above steps basically can be done.
You can see the Gitlab
First upload to a remote repository from a local project