Skip to content

Instantly share code, notes, and snippets.

View filipevarjao's full-sized avatar

Filipe Varjão filipevarjao

View GitHub Profile
git remote add origin https://github.com/githug/githug
git checkout -b test_code
git checkout -b my_branch
git checkout my_branch
git reset --hard HEAD~1
git status
gedit file1
git add file1
git commit -m "new commit, new branch"
git checkout feature
git merge master
git checkout new-feature
git log
or
gitk --all
git checkout master
git log
git rebase -i HEAD~2
reword ...
git log
git add .
git commit -m "last comit"
git rebase -i HEAD~4