skip to main |
skip to sidebar
RSS Feeds
Nope. nothing .. just some random thoughts come to my mind ...
Nope. nothing .. just some random thoughts come to my mind ...
9:41 AM | Sunday, May 13, 2012
Posted by harshadura
Creating branch > git branch <branch name>
Remove Branch >
git push origin --delete <branch name>
f you don't want to download an archive you can use GitHub Pages to render this.
gh-pages
branch (if one already exists, remove it and create a new one based off master
).http://
username
.github.com/
repo
`git clone git@github.com:username/repo.git
cd repo
git branch gh-pages# Might need to do this first: git branch -D gh-pages
git push -u origin gh-pages # Push the new branch back to github
Go to http://username.github.com/repo
Remove Branch --------------->
git push origin --delete <branch name>
harshadura@localhostLapDU:~/Desktop/Jquery-Wizard-Test$ git push origin --delete gh-pages
To git@github.com:harshadura/Jquery-Wizard-Test.git
- [deleted] gh-pages
harshadura@localhostLapDU:~/Desktop/Jquery-Wizard-Test$
harshadura@localhostLapDU:~/Desktop/Jquery-Wizard-Test$ git branch gh-pages
harshadura@localhostLapDU:~/Desktop/Jquery-Wizard-Test$ git push -u origin gh-pages
Total 0 (delta 0), reused 0 (delta 0)
To git@github.com:harshadura/Jquery-Wizard-Test.git
* [new branch] gh-pages -> gh-pages
Branch gh-pages set up to track remote branch gh-pages from origin.
harshadura@localhostLapDU:~/Desktop/Jquery-Wizard-Test$
Post a Comment