also you need to add
git stash
when you want to keep your working progress without commit then you need to switch to other branch
and
git stash pop
to put their back to your file
i think this is important if you work with some branch
Hey, Aris
Thanks for highlighting the above helpful commands. Will surely make use of it 👍
I often use git stash save -m "name" instead as I can give the stash a name for easier identification later on
It's deprecated and it's recommended to use git stash push -m instead
git stash push -m
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
also you need to add
when you want to keep your working progress without commit then you need to switch to other branch
and
to put their back to your file
i think this is important if you work with some branch
Hey, Aris
Thanks for highlighting the above helpful commands. Will surely make use of it 👍
I often use git stash save -m "name" instead as I can give the stash a name for easier identification later on
It's deprecated and it's recommended to use
git stash push -m
instead