Terminal
$ git config --global user.name "name"
$ git config --global user.email [email protected] #address
Terminal
$ git init #Initialization
Terminal
$ git status #Check the status of the file
$ git add -A #Specify the file to save-A can add all files, you can also add one by one by specifying the file name
$ git commit -m "Message content"
Terminal
$ git remote add origin https://github.com/tkse16/sumple_app.git #Associate origin with GitHub repository
$ git push -u origin master #Push to GitHub.-u does not have to be
that's all!
Recommended Posts