Git

From Chorke Wiki
Jump to navigation Jump to search
git stash apply stash@{index}
git stash drop  stash@{index}
git stash pop   stash@{index}
git stash clear
git stash list
git stash push -m stash_v1.0.00
git stash apply stash^{/stash_v1.0.00}
git diff > ~/.chorke/tmp/academia/patch/v1.0.00.patch
git apply  ~/.chorke/tmp/academia/patch/v1.0.00.patch
git apply --3way ~/.chorke/tmp/academia/patch/v1.0.00.patch

Git Tag

annotated tag
git tag -a v1.5_initial_setup -m 'initial setup'
git tag -a v1.5_initial_setup
lightweight tag
git tag    v1.5_initial_setup

References