- Find out what is the repository url, you can see it at github. For example: https://github.com/czetsuya/JAX-RS-REST-Security.git
- Open command prompt
- Change directory to where your project is.
- In the command promp execute:
- >git init
- >git add .
- >git commit -m "Initial commit"
- >git remote add origin https://github.com/czetsuya/JAX-RS-REST-Security.git
- >git push -u origin master
What if we already initialized our repository? Then we can already skip steps 4.1-4.3 and just execute:
- >git remote add origin https://github.com/czetsuya/JAX-RS-REST-Security.git
- >git push -u origin master
0 nhận xét:
Đăng nhận xét