Difference between revisions of "Git blame"
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | <code>[[git blame]]</code> | + | <code>[[git blame]]</code> https://git-scm.com/docs/git-blame |
− | |||
+ | git blame YOURFILE [[--porcelain]] | grep "^author " | sort -u | ||
+ | |||
+ | == Errors == | ||
git blame | git blame | ||
fatal: not a git repository (or any of the parent directories): [[.git]] | fatal: not a git repository (or any of the parent directories): [[.git]] |
Latest revision as of 12:41, 20 June 2024
git blame
https://git-scm.com/docs/git-blame
git blame YOURFILE --porcelain | grep "^author " | sort -u
Errors[edit]
git blame
fatal: not a git repository (or any of the parent directories): .git
Solution: git init
Related[edit]
See also[edit]
git blame
git
: [config | init | status ]
,git add
,git rm
,git commit
,git push, git pull
,.gitconfig
,.gitignore
,git
(clone
,fetch
,pull
),git tag
,git log
,git blame
, Merge Request, LFS,git branch
,git apply
,git rebase
,git diff
,git diff-tree
,git config --global
,remote | submodule | request-pull
,GIT_TRACE, GIT_CURL_VERBOSE
,clean
,main
,git show-ref
,git reset
,git prune
,git ls-remote origin
,git checkout
,git switch
,pathspec
,git credential-osxkeychain
,git version
,pre-commit
,git --help
, GitBook,refs/
Advertising: