Merge branch 'master' of github.com:joshtronic/bash
This commit is contained in:
commit
77eebb3708
2 changed files with 9 additions and 0 deletions
6
git/git-delete-branch
Executable file
6
git/git-delete-branch
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
# remove remote git branch
|
||||
# usage: git delete-branch name
|
||||
|
||||
git branch -D $1
|
||||
git push origin :$1
|
|
@ -1,4 +1,7 @@
|
|||
#!/bin/bash
|
||||
# create directory and checkout project from github
|
||||
# usage: git github-init joshtronic bash
|
||||
|
||||
git init $2
|
||||
cd $2
|
||||
git remote add origin git@github.com:$1/$2.git
|
Loading…
Add table
Add a link
Reference in a new issue