git update-index --assume-unchanged dir-im-removing/
git update-index --assume-unchanged config/database.yml
git update-index --skip-worktree
#Change previous commit author
git rebase -i <earliercommit>
git commit --amend --author="Author Name <[email protected]>"
https://groups.google.com/forum/#!topic/git-users/a6zEdEQSpHw
git commit --amend -C HEAD --reset-author
#Push local branch to remote repo
git push origin experimental
#Copy-paste from one branch to another
git checkout source_branch <paths>...
git remote add <alias> <remote path>
git remote -v
git reset --hard HEAD~1 git reset HEAD^
HEAD^ same as HEAD~1