initialization work
- install git
- sign up github
Intellij congifugration of git and github
- file –> version control –> git –> select git path
- file –> version control –> github –> set the login username and password of git account, then click the test button to check link.
project to submit
- create local repository. VCS –> Import into Version Control –> create git respository –> select the directory –>
submit to local git. seclct the project –> git –> add –> commit…
ommit failed with error:No existing author found with ‘xx@xx.com’
run the follow code in teminalgit config --global user.email "you@example.com" git config --global user.name "YourName"
use the author YourName<you@example.com>
configure git respository. create resposity –> copy https/ssh key
cd local project directory,git remote add origin https... git push -u origin master
use intellij to pull and push