Skip to content

Instantly share code, notes, and snippets.

@nemrosim
Last active August 29, 2019 16:42
Show Gist options
  • Save nemrosim/0162d562223116a17e6b456a309cebb2 to your computer and use it in GitHub Desktop.
Save nemrosim/0162d562223116a17e6b456a309cebb2 to your computer and use it in GitHub Desktop.
[GIT] #GIT
$ 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