Created
December 21, 2008 21:29
-
-
Save anteaya/38771 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
anita@anita-laptop:~/sandbox$ cd anteaya.github.com/ | |
anita@anita-laptop:~/sandbox/anteaya.github.com$ ls -a | |
. .. .git images index.html README stylesheets | |
anita@anita-laptop:~/sandbox/anteaya.github.com$ mkdir nordic.git | |
anita@anita-laptop:~/sandbox/anteaya.github.com$ ls -a | |
. .. .git images index.html nordic.git README stylesheets | |
anita@anita-laptop:~/sandbox/anteaya.github.com$ cd nordic.git/ | |
anita@anita-laptop:~/sandbox/anteaya.github.com/nordic.git$ ls -a | |
. .. | |
anita@anita-laptop:~/sandbox/anteaya.github.com/nordic.git$ git init | |
Initialized empty Git repository in .git/ | |
anita@anita-laptop:~/sandbox/anteaya.github.com/nordic.git$ git symbolic-ref HEAD refs/heads/gh-pages | |
anita@anita-laptop:~/sandbox/anteaya.github.com/nordic.git$ rm .git/index | |
rm: cannot remove `.git/index': No such file or directory | |
anita@anita-laptop:~/sandbox/anteaya.github.com/nordic.git$ git clean -fdx | |
anita@anita-laptop:~/sandbox/anteaya.github.com/nordic.git$ echo "My GitHub Page" > index.html | |
anita@anita-laptop:~/sandbox/anteaya.github.com/nordic.git$ git add . | |
anita@anita-laptop:~/sandbox/anteaya.github.com/nordic.git$ git commit -a -m "First pages commit" | |
Created initial commit f80208f: First pages commit | |
1 files changed, 1 insertions(+), 0 deletions(-) | |
create mode 100644 index.html | |
anita@anita-laptop:~/sandbox/anteaya.github.com/nordic.git$ git push origin gh-pages | |
fatal: 'origin': unable to chdir or not a git archive | |
fatal: The remote end hung up unexpectedly | |
anita@anita-laptop:~/sandbox/anteaya.github.com/nordic.git$ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment