Added script to easily git init and pull a github repo.
This commit is contained in:
parent
cf53611fcd
commit
2a7ad02751
1 changed files with 6 additions and 0 deletions
6
github-init
Executable file
6
github-init
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
git init $2
|
||||
cd $2
|
||||
git remote add origin git@github.com:$1/$2.git
|
||||
git pull origin master
|
||||
cd ..
|
Loading…
Add table
Add a link
Reference in a new issue