16.11.2017
f3l1x.io
github.com/f3l1x
twitter.com/xf3l1x
git init
git clone <url>
touch x.txt
git add x.txt
git commit -m "Bump"
git push
git push origin master
git pull
Master
Feature
git checkout -b feature
git push origin master
Master
Dev
Feature
git rebase -i dev
Master
Dev
Feature
git rebase -i dev
rebase done
Master
Dev
git reset --soft HEAD~1
git reset --mixed HEAD~1
git reset --hard HEAD~1
Master
git stash save
git stash pop/apply
git stash save
git cherry-pick