How to upload native code to github with git command lineSeptember 19, 2016 16:10:36Hits: 9337
Note: The prerequisites for installation are to configure the relevant environment for git or install Git.exe, which is no longer highlighted here
Upload step: (This article uses the GIT command interface to operate)
(git config--global user.email "[Email protected]"
git config--global user.name "Your name") for login
1. Go to the Local project directory, right-click "Git Bash here", bring up the git command line interface, and enter
2. Upload all files in the directory, or you can "." Change to a specific file name
3. Submit the project to GitHub
4. Create a new repository on GitHub
5. Click "Create Repository" to jump to a connection, the following red circle to get to the GitHub address of this project
6. Associating local code to GitHub
7. Upload the code to GitHub before you need to pull
8. Upload the code to the remote repository
Then enter your account, password, upload to GitHub
How to upload native code to github with git command line