Skip to content

Commit

Permalink
more git configure
Browse files Browse the repository at this point in the history
  • Loading branch information
nishigori committed Apr 15, 2024
1 parent 4eec33d commit b94b207
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,10 @@
process = git-lfs filter-process
required = true

[user]
name = nishigori
email = nishigori.tak@gmail.com
# user section should written on .gitsecret
#[user]
# name = nishigori
# email =

# NOTE: Enable when GitHub HTTPS protocal is gone (use SSH protocol)
#
Expand Down
4 changes: 4 additions & 0 deletions .secrets/.gitsecret.example
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
[credential]
helper =

[user]
user =
email =

[github]
user =

Expand Down
2 changes: 1 addition & 1 deletion .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ alias gtree='git tree | tree --fromfile | bat -p'
alias gt='gtree'
alias h='git hist origin/$(git default)^..@'
alias hn='git hist --name-only origin/$(git default)^..@'
alias pu='git push -u origin $(git symbolic-ref --short HEAD)'
alias pu='git push -u origin $(git branch --show-current)'
alias pf='git push --force-with-lease --force-if-includes'
alias pushu='git push -u origin $(git symbolic-ref --short HEAD)'
alias pushf='git push --force-with-lease --force-if-includes'
Expand Down

0 comments on commit b94b207

Please sign in to comment.