Postingan lainnya
Buku Ini Koding!
Baru!
Buku ini akan jadi teman perjalanan kamu belajar sampai dapat kerjaan di dunia programming!
Kelas Premium!
Belajar bikin website dari nol sekarang
Gunakan kupon "lebihcepat" untuk diskon 25%!
Gagal hosting di pages github
Assalamualaikum tadi saya nemu error, maksudnya kurang berhasil ketika hosting di github , saya sudah buat repositorinya ini link repo saya https://github.com/erwinprasetyo97/portofolio.github.io terus saya ketik di command line sesuai video di bagian hosting dengan github
PS D:\PRASETYO\WPU\BELAJAR\NGOBAR\portofolio> ls
Directory: D:\PRASETYO\WPU\BELAJAR\NGOBAR\portofolio
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 1/5/2018 10:56 PM css
d----- 1/13/2018 11:48 AM fonts
d----- 1/15/2018 11:08 AM img
d----- 1/9/2018 1:38 PM js
d----- 1/28/2018 4:37 PM portofolio.github.io
-a---- 1/12/2018 7:37 PM 8655 index.php
PS D:\PRASETYO\WPU\BELAJAR\NGOBAR\portofolio> cd portofolio.github.io
PS D:\PRASETYO\WPU\BELAJAR\NGOBAR\portofolio\portofolio.github.io> ls
PS D:\PRASETYO\WPU\BELAJAR\NGOBAR\portofolio\portofolio.github.io> atom index.php
atom : The term 'atom' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:1 char:1
atom index.php
~~~~
+ CategoryInfo : ObjectNotFound: (atom:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS D:\PRASETYO\WPU\BELAJAR\NGOBAR\portofolio\portofolio.github.io> cd ..
PS D:\PRASETYO\WPU\BELAJAR\NGOBAR\portofolio> git clone https://github.com/erwinprasetyo97/por
tofolio.github.io.git
Cloning into 'portofolio.github.io'...
warning: You appear to have cloned an empty repository.
PS D:\PRASETYO\WPU\BELAJAR\NGOBAR\portofolio> ls
Directory: D:\PRASETYO\WPU\BELAJAR\NGOBAR\portofolio
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 1/5/2018 10:56 PM css
d----- 1/13/2018 11:48 AM fonts
d----- 1/15/2018 11:08 AM img
d----- 1/9/2018 1:38 PM js
d----- 1/28/2018 5:06 PM portofolio.github.io
-a---- 1/12/2018 7:37 PM 8655 index.html
PS D:\PRASETYO\WPU\BELAJAR\NGOBAR\portofolio> cd portofolio.github.io
PS D:\PRASETYO\WPU\BELAJAR\NGOBAR\portofolio\portofolio.github.io> touch index.html
touch : The term 'touch' is not recognized as the name of a cmdlet, function, script file,
or operable program. Check the spelling of the name, or if a path was included, verify that
the path is correct and try again.
At line:1 char:1
touch index.html
~~~~~
+ CategoryInfo : ObjectNotFound: (touch:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS D:\PRASETYO\WPU\BELAJAR\NGOBAR\portofolio\portofolio.github.io> git add .
warning: LF will be replaced by CRLF in css/bootstrap-theme.css.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in css/bootstrap-theme.min.css.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in css/bootstrap.css.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in css/bootstrap.min.css.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in fonts/glyphicons-halflings-regular.svg.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in js/bootstrap.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in js/bootstrap.min.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in js/jquery-3.2.1.min.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in js/jquery.easing.1.3.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in js/npm.js.
The file will have its original line endings in your working directory.
PS D:\PRASETYO\WPU\BELAJAR\NGOBAR\portofolio\portofolio.github.io> git commit -m "portofolio_1
"
[master (root-commit) b5e89f0] portofolio_1
29 files changed, 10622 insertions(+)
create mode 100644 css/bootstrap-theme.css
create mode 100644 css/bootstrap-theme.css.map
create mode 100644 css/bootstrap-theme.min.css
create mode 100644 css/bootstrap-theme.min.css.map
create mode 100644 css/bootstrap.css
create mode 100644 css/bootstrap.css.map
create mode 100644 css/bootstrap.min.css
create mode 100644 css/bootstrap.min.css.map
create mode 100644 css/style.css
create mode 100644 fonts/glyphicons-halflings-regular.eot
create mode 100644 fonts/glyphicons-halflings-regular.svg
create mode 100644 fonts/glyphicons-halflings-regular.ttf
create mode 100644 fonts/glyphicons-halflings-regular.woff
create mode 100644 fonts/glyphicons-halflings-regular.woff2
create mode 100644 img/Erbagus.jpg
create mode 100644 img/bg2.png
create mode 100644 img/cahbagus.jpg
create mode 100644 img/erwin.jpg
create mode 100644 img/header-bg.jpg
create mode 100644 img/logo-LPSE3.jpg
create mode 100644 img/portofolio/1.jpg
create mode 100644 img/portofolio/2.jpg
create mode 100644 index.html
create mode 100644 js/bootstrap.js
create mode 100644 js/bootstrap.min.js
create mode 100644 js/jquery-3.2.1.min.js
create mode 100644 js/jquery.easing.1.3.js
create mode 100644 js/npm.js
create mode 100644 js/script.js
PS D:\PRASETYO\WPU\BELAJAR\NGOBAR\portofolio\portofolio.github.io> git remote add origin
usage: git remote add [<options>] <name> <url>
-f, --fetch fetch the remote branches
--tags import all tags and associated objects when fetching
or do not fetch any tag at all (--no-tags)
-t, --track <branch> branch(es) to track
-m, --master <branch>
master branch
--mirror[=<push|fetch>]
set up remote as a mirror to push to or fetch from
PS D:\PRASETYO\WPU\BELAJAR\NGOBAR\portofolio\portofolio.github.io> git push -u origin master
Counting objects: 36, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (36/36), done.
Writing objects: 100% (36/36), 2.52 MiB | 169.00 KiB/s, done.
Total 36 (delta 6), reused 0 (delta 0)
remote: Resolving deltas: 100% (6/6), done.
To https://github.com/erwinprasetyo97/portofolio.github.io.git
* [new branch] master -> master
Branch 'master' set up to track remote branch 'master' from 'origin'.
PS D:\PRASETYO\WPU\BELAJAR\NGOBAR\portofolio\portofolio.github.io>
tapi setalah saya copy dan pastekan link portofolio.github.io saya malah tidak tampil web statis saya , terimakasih mohon solusi nya wassalamualaikum
2 Jawaban:
Halo Erwin untuk github pages jangan lupa nama reponya harus usernameKamu.github.io bisa dicek aturan no.1 disini https://pages.github.com/