Last active
August 29, 2019 16:42
-
-
Save nemrosim/0162d562223116a17e6b456a309cebb2 to your computer and use it in GitHub Desktop.
[GIT] #GIT
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git -version | |
$ git config --global user.name "SomeUserName" | |
$ git config --global user.email "user#gmail.com" | |
$ git config | |
$ git config --list | |
// STARTER | |
$ git init | |
// ADD ALL | |
$ git add . | |
$ git add -A | |
$ git status | |
$ git commit -m "This is some message for commit" | |
$ git remote add origin https://github.com/Nemrosim88/learn-ruby-projects.git | |
$ git push -u origin master | |
// RESTORE | |
$ git checkout -f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment