Skip to content

Instantly share code, notes, and snippets.

@samrose
Created November 20, 2012 00:59
Show Gist options
  • Save samrose/4115258 to your computer and use it in GitHub Desktop.
Save samrose/4115258 to your computer and use it in GitHub Desktop.
These are the steps I took to create the repo in my command line
Sams-MacBook-Air:Desktop samrose$ git clone [email protected]:samrose/examplerepo.git
Cloning into examplerepo...
warning: You appear to have cloned an empty repository.
Sams-MacBook-Air:examplerepo samrose$ nano readme.md
Sams-MacBook-Air:examplerepo samrose$ git add .
Sams-MacBook-Air:examplerepo samrose$ git commit -am 'readme'
[master (root-commit) 35f5148] readme
Committer: Sam Rose <[email protected]>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:
git config --global user.name "Your Name"
git config --global user.email [email protected]
After doing this, you may fix the identity used for this commit with:
git commit --amend --reset-author
1 files changed, 1 insertions(+), 0 deletions(-)
create mode 100644 readme.md
Sams-MacBook-Air:examplerepo samrose$ git push origin master
Counting objects: 3, done.
Writing objects: 100% (3/3), 242 bytes, done.
Total 3 (delta 0), reused 0 (delta 0)
To [email protected]:samrose/examplerepo.git
* [new branch] master -> master
Sams-MacBook-Air:examplerepo samrose$ git branch gh-pages
Sams-MacBook-Air:examplerepo samrose$ git checkout gh-pages
Switched to branch 'gh-pages'
Sams-MacBook-Air:examplerepo samrose$ ls
readme.md
Sams-MacBook-Air:examplerepo samrose$ cp -r ../githubiverse-template-gh-pages/ .
Sams-MacBook-Air:examplerepo samrose$ ls
_config.yml _includes _layouts css img index.md js readme.md
Sams-MacBook-Air:examplerepo samrose$ git add .
Sams-MacBook-Air:examplerepo samrose$ git commit -am 'adding githubiverse'
[gh-pages 6f96677] adding githubiverse
Committer: Sam Rose <[email protected]>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:
git config --global user.name "Your Name"
git config --global user.email [email protected]
After doing this, you may fix the identity used for this commit with:
git commit --amend --reset-author
36 files changed, 9355 insertions(+), 1 deletions(-)
create mode 100755 .gitignore
create mode 100755 _config.yml
create mode 100755 _includes/footer.html
create mode 100755 _includes/header.html
create mode 100755 _layouts/default.html
create mode 100755 css/bootstrap/bootstrap-responsive.css
create mode 100755 css/bootstrap/bootstrap.css
create mode 100755 css/githubiverse/default.css
create mode 100755 css/lightbox/lightbox.css
create mode 100755 img/bootstrap/glyphicons-halflings-white.png
create mode 100755 img/bootstrap/glyphicons-halflings.png
create mode 100755 img/favicon.ico
create mode 100755 img/lightbox/bg-checker.png
create mode 100755 img/lightbox/box.png
create mode 100755 img/lightbox/bullet.gif
create mode 100755 img/lightbox/close.png
create mode 100755 img/lightbox/favicon.gif
create mode 100755 img/lightbox/loading.gif
create mode 100755 img/lightbox/next.png
create mode 100755 img/lightbox/prev.png
create mode 100755 img/lightbox/speech-bubbles.png
create mode 100755 index.md
create mode 100755 js/bootstrap/bootstrap.min.js
create mode 100755 js/github/gh3.min.js
create mode 100755 js/humane.min.js
create mode 100755 js/lightbox/lightbox.min.js
create mode 100755 js/showdown.min.js
create mode 100755 js/thingiview/Base64Binary.js
create mode 100755 js/thingiview/Three.js
create mode 100755 js/thingiview/binaryReader.js
create mode 100755 js/thingiview/plane.js
create mode 100755 js/thingiview/stats.js
create mode 100755 js/thingiview/thingiloader.js
create mode 100755 js/thingiview/thingiview.js
create mode 100755 js/underscore/underscore.min.js
rewrite readme.md (100%)
Sams-MacBook-Air:examplerepo samrose$ git push origin gh-pages
Counting objects: 55, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (44/44), done.
Writing objects: 100% (53/53), 130.19 KiB, done.
Total 53 (delta 2), reused 0 (delta 0)
To [email protected]:samrose/examplerepo.git
* [new branch] gh-pages -> gh-pages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment