Difference between revisions of "Git blame"
Jump to navigation
Jump to search
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | + | <code>[[git blame]]</code> https://git-scm.com/docs/git-blame | |
− | |||
+ | git blame YOURFILE [[--porcelain]] | grep "^author " | sort -u | ||
+ | |||
+ | == Errors == | ||
+ | git blame | ||
+ | fatal: not a git repository (or any of the parent directories): [[.git]] | ||
+ | |||
+ | Solution: <code>[[git init]]</code> | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[git log]]</code> | ||
== See also == | == See also == | ||
+ | * {{git blame}} | ||
* {{git}} | * {{git}} | ||
[[Category:Git]] | [[Category: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: