Functions
WebDev/*nix assorted functions & hacks
Search
find all
Array
-
Bash
-
Classes
-
Config
-
DateTime
-
Debug
-
dotjs
-
File
-
foooo
-
Git
-
HTML
-
Images
-
Javascript
-
Linux
-
Math
-
Misc
-
MySQL
-
OS X
-
Reading
-
Redis
-
Shell scripts
-
snippets
-
SQL
-
Strings
-
TextMate
-
Web
-
\(^o^)/ Fun!
-
_Misc hacks
-
_Pages
Git
* Readme
*_General
.gitignore for only php files
bash: gld
Branch
cloning with custom SSH port
git branch in shell prompt
how to turn a project into a bare repo
Scripts (be afraid)
Stash
URLs
11
found
auth
Name:
Category: Git
Body:
Stash helps you keep changes in one branch before switching to another branch -without- having to commit: http://git-scm.com/book/en/Git-Tools-Stashing Store changes and make index clean $ git stash Show stored stashes $ git stash list Recall last stash and remove the saved stash item $ git stash pop Delete last stash item without applying it $ git stash drop Apply last stash item without dropping it $ git stash apply If you git stash pop in a wrong branch you get conflicts, and the stash is not removed. So you can undo the conflicts and move to the right branch and then pop. git reset head; git checkout .; git checkout rightBranch; git stash pop or somesuch.
Footer