This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
to paste text into the git bash use the keyboard shortcut, Insert | |
//add all files (new or modified) and commit in one command | |
git commit --amend -m 'new commit message' | |
//add deleted files which are not staged - this will add all modified files | |
git add -A | |
//show last 5 commits on one line | |
git log --pretty=oneline --max-count=5 |