Skip to content

Instantly share code, notes, and snippets.

@10bn
Created October 2, 2021 07:36
Show Gist options
  • Save 10bn/2a41a288cd5abdc1af15449e95b7cbbc to your computer and use it in GitHub Desktop.
Save 10bn/2a41a288cd5abdc1af15449e95b7cbbc to your computer and use it in GitHub Desktop.
VS code git commit
Looking for git in: git
Using git 2.20.1 from git
> git rev-parse --git-dir
Open repository: /config
> git status -z -u
> git check-ignore -v -z --stdin
> git symbolic-ref --short HEAD
> git for-each-ref --format=%(refname)%00%(upstream:short)%00%(objectname)%00%(upstream:track) refs/heads/master refs/remotes/master
> git for-each-ref --sort -committerdate --format %(refname) %(objectname) %(*objectname)
> git remote --verbose
> git config --get commit.template
> git show --textconv :binary_sensors.yaml
> git ls-files --stage -- /config/binary_sensors.yaml
> git cat-file -s 7989136cc0bf23035fcc9d7319afd235dd0acd18
> git check-ignore -v -z --stdin
> git show --textconv :Readme.md
> git ls-files --stage -- /config/Readme.md
> git cat-file -s 806c28f636917ba5dfcb21e4217df028f2f74af6
> git show --textconv :configuration.yaml
> git ls-files --stage -- /config/configuration.yaml
> git cat-file -s 98f0eb608b7e4e36686195dbcb81ebf8256a901e
> git add -A -- .
> git -c user.useConfigOnly=true commit --quiet --allow-empty-message --file -
*** Please tell me who you are.
Run
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: no name was given and auto-detection is disabled
> git config --get-all user.name
> git ls-files --stage -- /config/configuration.yaml
> git cat-file -s 98f0eb608b7e4e36686195dbcb81ebf8256a901e
> git show --textconv :configuration.yaml
> git status -z -u
> git symbolic-ref --short HEAD
> git for-each-ref --format=%(refname)%00%(upstream:short)%00%(objectname)%00%(upstream:track) refs/heads/master refs/remotes/master
> git for-each-ref --sort -committerdate --format %(refname) %(objectname) %(*objectname)
> git remote --verbose
> git config --get commit.template
> git check-ignore -v -z --stdin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment