Skip to content

Commit

Permalink
retry
Browse files Browse the repository at this point in the history
  • Loading branch information
unclehowell committed Apr 5, 2024
1 parent 6752844 commit f20c2bf
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*

26 changes: 26 additions & 0 deletions COLLABORATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -343,3 +343,29 @@ If git push generates 403 run this command:
`git config --global --unset credential.helper`

Then retry


If you use zsh
===================

If you're in the repo locally, in your terminal. And it's slow prompting after running your last command.
And if you run this command and it's still slow, then proceed to the next step below;
```
__git_prompt_git () {
GIT_OPTIONAL_LOCKS=0 command timeout 1s git "$@"
}
```
Then you'll need to run these commands;

```
git config --global --add oh-my-zsh.hide-status 1
git config --global --add oh-my-zsh.hide-dirty 1
```

You'll also need to add the following into ~/.zshrc and remove git plugin
```
DISABLE_UNTRACKED_FILES_DIRTY="true"
```

0 comments on commit f20c2bf

Please sign in to comment.