Add an existing local spring maven multi module project onto new github ...

In this video, you will learn how to add an existing local project onto new github repository with command line by using git bash console.

Initialize the local directory as a Git repository.
- git init

Add the files in your new local repository. This stages them for the first commit.
- git add .

Commit the files that you've staged in your local repository.
- git commit -m "First commit"

At the top of your GitHub repository's Quick Setup page, click  to copy the remote repository URL.


In the Command prompt, add the URL for the remote repository where your local repository will be pushed.
- git remote add origin remote repository URL

Push the changes in your local repository to GitHub.
git push -u origin master
--------------------------
Supoort Me: KhmerSide:
https://www.youtube.com/khmerside
http://www.facebook.com/khmerside
http://khmerside.blogspot.com
http://www.khmerside.xyz
https://www.reddit.com/user/khmerside
https://www.pinterest.com/khmerside/
https://www.instagram.com/khmerside/
https://twitter.com/Khmerside

Previous Post Next Post