♻️ Clarified message regarding password saving
This commit is contained in:
parent
ea6756b1ee
commit
2a391a94ce
1 changed files with 2 additions and 1 deletions
|
|
@ -266,7 +266,8 @@ else
|
||||||
if [[ $newfiles || $modified ]] ; then
|
if [[ $newfiles || $modified ]] ; then
|
||||||
# also remembers password for 1 hour after last use
|
# also remembers password for 1 hour after last use
|
||||||
# (comment out if more security needed, or just use ssh...)
|
# (comment out if more security needed, or just use ssh...)
|
||||||
echo "${txtgreen}git will remember your password for 1 hour!${txtwhite}"
|
echo "${txtgreen}bgit will remember your password for 1 hour!"
|
||||||
|
echo "(doesn't apply to gpg, ssh, or pat)${txtwhite}"
|
||||||
git config credential.helper 'cache --timeout=3600';
|
git config credential.helper 'cache --timeout=3600';
|
||||||
git config advice.addEmptyPathspec false;
|
git config advice.addEmptyPathspec false;
|
||||||
git add $modified $newfiles ;
|
git add $modified $newfiles ;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue