Http://www.akmumu.com/2015/06/02/360.html
Git Commit
1, git init2, git Add. 3, git commit-m "description" 4, git Remote add Origin https://github.com/superbobogithub/xxxx.git5, git push-u Origin Master
Here's how HTTPS clones are password-free submissions
Cloning code in a way that uses HTTPS
git clone https://github.com/akmumu/google_hosts.git
To view a profile in a project
Vim. Git/config
[core] repositoryformatversion = 0 FileMode = True bare = False Logallrefupdates = True ignorecase = True Precomposeunicod E = True [remote "origin"] url = https://github.com/akmumu/google_hosts.git Fetch = +refs/heads/: refs/remotes/origin / [branch "master"] Remote = origin merge = Refs/heads/master
Modify the URL in remote the line is as follows
url = https://akmumu:[email Protected]/akmumu/google_hosts.git
Https://username:[email protected]/username/project.git username is your account's personal address
git password-free submission