• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in DevOps by
Q:
What is Git Stash?

1 Answer

0 votes
by

Let’s say you’ve been working on part of your project, things are in a messy state and you want to switch branches for some time to work on something else. The problem is, you don’t want to do a commit of your half-done work just, so you can get back to this point later. The answer to this issue is Git stash.

Git Stashing takes your working directory that is, your modified tracked files and staged changes and saves it on a stack of unfinished changes that you can reapply at any time.

Related questions

0 votes
0 votes
0 votes
0 votes
asked Sep 5, 2020 in Git by SakshiSharma
0 votes
asked Apr 18, 2020 by SakshiSharma
0 votes
asked Apr 18, 2020 by SakshiSharma
...