Moved git init script to different folder

This commit is contained in:
Dreaded_X 2014-11-07 22:09:51 +01:00
parent 7de7913fe6
commit 625c3b0349
2 changed files with 0 additions and 21 deletions

View File

@ -1,4 +0,0 @@
*~
*.swp
*.swo
workbench.xmi

View File

@ -1,17 +0,0 @@
#!/bin/bash
# Checking if url is specified
if [ -z "$1" ]; then echo "Please specify url."; exit; fi;
# Making src directory and README.md
mkdir src
touch README.md
echo "#$(basename $PWD)" >> README.md
# Initializing git and making first commit
git init
git add .
git commit -m "Initial commit"
# Set origin and push the first commit
git remote add origin $1;
git push -u origin master;