one Install the Git client
Install git client under Window.
two Configure Git/ GitHub in Intellij idea
Open Preference– Version Control.
Drop down and select Github, fill in Host, Login, and Password, and Test was successful.
Select Git and specify the Git path. Test to see if the function is working.
Install git client under Window.
two Configure Git/ GitHub in Intellij idea
Open Preference– Version Control.
Drop down and select Github, fill in Host, Login, and Password, and Test was successful.
Select Git and specify the Git path. Test to see if the function is working.
3. Project local Git commit
1. Create a local warehouse
2. Commit code to Git
Right-click on the SRC or code file, and Git — Add — Commit
Four. Project remote submission
1. Set up a warehouse on Github
2. Configure the remote warehouse locally
CD local warehouse directory
Git RemoteAdd Origin the address of your project
git push-u origin master
There’s going to be a problem here.
The reason is that when we created the warehouse on Github, we checked the default READme.md, which caused a mismatch between local and remote warehousing.
Solutions:
The Git pull origin master
And then git push-u Origin master
3. Push/Pull in IDEA
Right-click on the SRC or code file, Git — Repository — Push/Pull
Read More:
- error: src refspec master does not match any error:failed to push some refs to ‘[email protected]:xxxx
- [Git & GitHub] Solution: error: failed to push some refs to’https://github.com/xxxx.git’
- Git failed to submit data error: failed to push some refs to’https://github.com/XXXXXXX/gif.git’
- Failed to push some refs to
- Please specify which branch you want to merge with
- GitHub upload failed: git push error: failed to push some refs to exception handling
- How to Fix GIT Push Error
- git push error failed to push some refs to solution
- Solve github :error: failed to push some refs to problem
- Error: failed to push some refs to ‘xxx’
- [Git] git pull pull remote git push to remote git commit submit reject
- error: src refspec master does not match anyerror: failed to push some refs to
- Error: SRC refspec master does not match any. error: failed to push some refs to
- pathspec ‘master’ did not match any files known to git
- Git error: requested URL returned error: 403
- GitHub push ErrorThe requested URL returned error: 403 Forbidden while accessing
- Git push you are not allowed to upload merges
- [Solved] ERROR: commit 60acc70: missing Change-Id in message footer
- How to solve error: failed to push some refs to ‘[email protected]:……git pull conflict