Created
May 7, 2015 08:56
-
-
Save gohilbhagirath90/5e8bd81940629e8e1d9f to your computer and use it in GitHub Desktop.
adding project to git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
git init | |
echo "git init successfully" | |
git status | |
echo "git status" | |
git add -f * | |
echo "adding files successfully" | |
echo "set-up email & name" | |
git config --global user.email gohil.bhagirath90@gmail.com | |
git config --global user.name bhagirtah | |
read -p "Enter commit message :: " message | |
git commit -m $message | |
read -p "Enter remote link :: " link | |
git remote add origin $link | |
echo "push data to remote" | |
git push -u origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment