Skip to content

Commit

Permalink
windows line endings --> unix line endings
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Jun 12, 2018
1 parent 14c6b70 commit 3397b86
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions set_git.sh
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
#!/bin/bash

# Ask the user for login details
read -p 'Git repository url: ' upstreamVar
read -p 'Git Username: ' userVar
read -p 'Git email: ' emailVar

echo
echo Thankyou $userVar, we now have your credentials
echo for upstream $upstreamVar. You must supply your password for each push.
echo

echo setting up git

git config --global user.name $userVar
git config --global user.email $emailVar
git remote set-url origin $upstreamVar
echo

echo Please verify remote:
git remote -v
echo

echo Please verify credentials:
echo username: git config user.name
#!/bin/bash

# Ask the user for login details
read -p 'Git repository url: ' upstreamVar
read -p 'Git Username: ' userVar
read -p 'Git email: ' emailVar

echo
echo Thankyou $userVar, we now have your credentials
echo for upstream $upstreamVar. You must supply your password for each push.
echo

echo setting up git

git config --global user.name $userVar
git config --global user.email $emailVar
git remote set-url origin $upstreamVar
echo

echo Please verify remote:
git remote -v
echo

echo Please verify credentials:
echo username: git config user.name
echo email git config user.email

0 comments on commit 3397b86

Please sign in to comment.