Posted over 9 years ago. Visible to the public.

Git: Stash unstaged changes

This will stash all modifications that you did not git add:

Copy
git stash -k

Note that newly created (and non-added) files will remain in your working directory unless you also use the -u switch.

Copy
git stash -k -u

Also, your working directory must be clean (i.e. all changes need to be added) when you git stash pop later on.

Does your version of Ruby on Rails still receive security updates?
Rails LTS provides security patches for old versions of Ruby on Rails (3.2 and 2.3).

Owner of this card:

Avatar
Arne Hartherz
Last edit:
over 5 years ago
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Arne Hartherz to makandra dev
This website uses cookies to improve usability and analyze traffic.
Accept or learn more