WeCode
Academy
Tutorials
Web Development
Bootstrap
CSS
HTML
JavaScript
jQuery
Node.js
PHP
React
TypeScript
Programming
C
C#
C++
Go
Java
Python
Rust
Data and Databases
NumPy
Pandas
SQL
Tools
Bash
Git
Projects
Project: A Tiny Shell in C
Project: Bank Account System
Project: Library Management System
Project: Portfolio Page
Project: Quiz App in React
Project: Sales Data Analysis
Project: Server Log Analyser
Project: To-Do REST API
Project: URL Shortener
Project: Word Counter in Four Languages
All tutorials ❯
Paths
References
Practice
Try it editor
Quizzes
How To recipes
Tools
Glossary
My Learning
🌙
Dark mode
Home
›
References
›
Git Command Reference
❮ git stash
git stash list ❯
git stash pop
Restores the newest stash.
Group: Undo
Syntax
git stash pop
Example
Example
bash
git init echo 1 > a.txt git add a.txt git commit -m "One" echo 2 >> a.txt git stash git stash pop cat a.txt
Run ❯
Reset
Open in editor »
/ $
← All of Git Command Reference