- Git - خانه
- Git - مفاهیم پایه
- Git - نصب و تنظیمات محیط
- Git - چرخه زندگی
- Git - درست عملیات
- Git - عملیات کلون
- Git - انجام تغییرات
- Git - نقد و بررسی تغییرات
- Git - Commit ایجاد تغییر در
- Git - Push عملیات
- Git - عملیات بهروزرسانیn
- Git - Stash عملیات
- Git - Move عملیات
- Git - عملیات تغییر نام دادن
- Git - Delete عملیات
- Git - رفع اشتباهات
- Git - Tag عملیات
- Git - Patch عملیات
- Git - مدیریت Branch ها
- Git - سیستم های انتقال مواد درگیری
- Git - های مختلف Platform
- Git - انبارهای برخط
Git - Stash
customer escalation . . commit commit
git stash stage area commit stack
[jerry@CentOS project]$ git status -s M string.c ?? string
branch customer escalation commit Stash, Commit . stash git stash
[jerry@CentOS project]$ git stash Saved working directory and index state WIP on master: e86f062 Added my_strcpy function HEAD is now at e86f062 Added my_strcpy function
working directory git stasus
[jerry@CentOS project]$ git status -s ?? string
branch . stash git stash list
[jerry@CentOS project]$ git stash list
stash@{0}: WIP on master: e86f062 Added my_strcpy function
customer escalation - - . git stash pop stack working directory
[jerry@CentOS project]$ git status -s ?? string [jerry@CentOS project]$ git stash pop
:
# On branch master
# Changed but not updated:
# (use "git add ..." to update what will be committed)
# (use "git checkout -- ..." to discard changes in working directory)
#
#
modified: string.c
#
# Untracked files:
# (use "git add ..." to include in what will be committed)
#
#
string
no changes added to commit (use "git add" and/or "git commit -a")
Dropped refs/stash@{0} (36f79dfedae4ac20e2e8558830154bd6315e72d4)
[jerry@CentOS project]$ git status -s
M string.c
?? string
Advertisements