git clone 'ssh clone url'
git add . git commit -m "Your message" git push -u origin master
git push origin master --force
git pull
git reset --hard HEAD~1 git push origin HEAD --force
git rm -r --cached some-directory git commit -m 'Remove the now ignored directory "some-directory"' git push origin master
https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet https://confluence.atlassian.com/display/STASH/Markdown+syntax+guide https://github.com/tchapi/markdown-cheatsheet/blob/master/README.md
$ echo '.idea' >> .gitignore $ git rm -r --cached .idea $ git add .gitignore $ git commit -m '(some message stating you added .idea to ignored entries)' $ git push
http://schacon.github.io/history.html then run: git push --force
How do I update a GitHub forked repository? Pull new updates from original GitHub repository into forked GitHub repository