git_notes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
git_notes [2023/03/01 22:26] – [Updating feature branch with the latest development branch] raju | git_notes [2023/05/05 14:55] (current) – [dokuwiki table syntax] admin | ||
---|---|---|---|
Line 75: | Line 75: | ||
git grep -i --all-match -e ' | git grep -i --all-match -e ' | ||
</ | </ | ||
+ | |||
+ | ==== Count number of lines in a file but exclude blank lines ==== | ||
+ | < | ||
+ | git grep -e " | ||
+ | </ | ||
+ | |||
+ | For example: | ||
+ | < | ||
+ | $ git grep -e " | ||
+ | 27 | ||
+ | </ | ||
+ | |||
+ | ===== Commits related ===== | ||
+ | ==== amend last commit ===== | ||
+ | |||
+ | < | ||
+ | export EDITOR=vim | ||
+ | git commit --amend --author=" | ||
+ | git config user.email " | ||
+ | |||
+ | git config --get-all --show-scope user.email | ||
+ | git config --get-all --show-origin user.email | ||
+ | </ | ||
+ | |||
+ | ===== Configuration related ===== | ||
+ | ==== configuration files ==== | ||
+ | * https:// | ||
===== git commands usage ===== | ===== git commands usage ===== |
git_notes.1677709604.txt.gz · Last modified: 2023/03/01 22:26 by raju