Moved from linux_tools
This commit is contained in:
14
bin/git-init.sh
Executable file
14
bin/git-init.sh
Executable file
@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd $HOME/ProbeStar
|
||||
mkdir $1
|
||||
cd $1
|
||||
git init
|
||||
git remote add origin https://www.probestar.com/PStar/$1.git
|
||||
touch README
|
||||
git add .
|
||||
git commit -a -m "Initionalization"
|
||||
git pull origin master
|
||||
git push origin master
|
||||
git branch --set-upstream-to=origin/master master
|
||||
cd ..
|
||||
Reference in New Issue
Block a user