Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thekindofme/905515 to your computer and use it in GitHub Desktop.
Save thekindofme/905515 to your computer and use it in GitHub Desktop.
as the title says...
yasi8h@yas-mbp:fusionweb$ git st
# On branch yasith
# Changed but not updated:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: config/environment.rb
# modified: config/environments/development.rb
# modified: config/initializers/devise.rb
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# .idea/
# nbproject/
no changes added to commit (use "git add" and/or "git commit -a")
yasi8h@yas-mbp:fusionweb$ git branch
list
master
* yasith
yasi8h@yas-mbp:fusionweb$ git branch new_branch
yasi8h@yas-mbp:fusionweb$ git checkout new_branch
M config/environment.rb
M config/environments/development.rb
M config/initializers/devise.rb
Switched to branch 'new_branch'
yasi8h@yas-mbp:fusionweb$ git st
# On branch new_branch
# Changed but not updated:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: config/environment.rb
# modified: config/environments/development.rb
# modified: config/initializers/devise.rb
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# .idea/
# nbproject/
no changes added to commit (use "git add" and/or "git commit -a")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment