What do you want to save?
Add Code snippet
New code examples
-
Other 2021-11-03 08:08:16
remove all branches deleted on remote
# set this alias in git.config git config --global alias.gone "! git fetch -p && git for-each-ref --format '%(refname:short) %(upstream:track)' | awk '\$2 == \"[gone]\" {print \$1}' | xargs -r git branch -D" # then run git gone Add solution -
-
-
-
TypeScript 2021-10-28 04:22:14
warning: LF will be replaced by CRLF in package-lock.json. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in package.json. The file will have its original line endings in your working directory
git config --global core.autocrlf true Add solution -
Shell/Bash 2021-10-28 04:17:15
git add identity
To set your global username/email configuration: Open the command line. Set your username: git config --global user.name "FIRST_NAME LAST_NAME" Set your email address: git config --global user.email "[email protected]" To set reposit... Add solution