git
Create a new repository on the command line
touch README.md git init git add README.md git commit -m "first commit" git remote add origin https://github.com/pengfeis/try-git.gitgit push -u origin master
Push an existing repository from the command line
git remote add origin https://github.com/pengfeis/try-git.git git push -u origin master
Show up git config
git config --list, or look at your ~/.gitconfig file. Local config will be in your repository's .git/config file.

浙公网安备 33010602011771号