Gist 2: Pull Request dari Project GitHub

fightercode@CODE-DADU MINGW64 ~/Documents/Server Web/Web Development/assessment.io (master)
$ git pull origin master
remote: Enumerating objects: 5, done.
remote: Counting objects: 100% (5/5), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 3 (delta 2), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (3/3), done.
From https://github.com/codedadu/Project_ToUp
* branch master -> FETCH_HEAD
b9b8cae..ad501bd master -> origin/master
Updating b9b8cae..ad501bd
Fast-forward
tableinformasi.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
fightercode@CODE-DADU MINGW64 ~/Documents/Server Web/Web Development/assessment.io (master)
$ ls
assesment/ data/ img/ layout/ style.css with-db/
author/ front.php index.php result/ tableinformasi.php
fightercode@CODE-DADU MINGW64 ~/Documents/Server Web/Web Development/assessment.io (master)
$ notepad tableinformasi.php
fightercode@CODE-DADU MINGW64 ~/Documents/Server Web/Web Development/assessment.io (master)
$ git pull origin mastser
fatal: Couldn't find remote ref mastser
fightercode@CODE-DADU MINGW64 ~/Documents/Server Web/Web Development/assessment.io (master)
$ git pull origin master
remote: Enumerating objects: 11, done.
remote: Counting objects: 100% (11/11), done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 7 (delta 3), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (7/7), done.
From https://github.com/codedadu/Project_ToUp
* branch master -> FETCH_HEAD
ad501bd..997d1fd master -> origin/master
Updating ad501bd..997d1fd
Fast-forward
author/data_editor.php | 4 +++-
index.php | 3 ++-
2 files changed, 5 insertions(+), 2 deletions(-)
fightercode@CODE-DADU MINGW64 ~/Documents/Server Web/Web Development/assessment.io (master)
$ cd author/
fightercode@CODE-DADU MINGW64 ~/Documents/Server Web/Web Development/assessment.io/author (master)
$ notepad

Cara Embed Gist ke WordPress dari sini

Gist 1: Cara Commit Project dan Push ke GitHub serta Update Project GitHub dari Local

fightercode@CODE-DADU MINGW64 /c/xampp/htdocs/crud.datasiswa
$ git init
Initialized empty Git repository in C:/xampp/htdocs/crud.datasiswa/.git/
fightercode@CODE-DADU MINGW64 /c/xampp/htdocs/crud.datasiswa (master)
$ git add .
warning: LF will be replaced by CRLF in configuration.php.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in database_PMB.sql.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in form-edit-pendaftar.php.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in form-pendaftaran.php.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in index.php.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in informasi-hapus-berhasil.php.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in konfirmasi-hapus-data.php.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in list-database.php.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in proses-edit-data.php.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in proses-hapus-data.php.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in proses-pendaftaran.php.
The file will have its original line endings in your working directory
fightercode@CODE-DADU MINGW64 /c/xampp/htdocs/crud.datasiswa (master)
$ git commit -m "Update Project 18 Feb 19 | First Up | Rev 1.1"
[master (root-commit) 128b996] Update Project 18 Feb 19 | First Up | Rev 1.1
18 files changed, 540 insertions(+)
create mode 100644 configuration.php
create mode 100644 database_PMB.sql
create mode 100644 form-edit-pendaftar.php
create mode 100644 form-pendaftaran.php
create mode 100644 icon/alarm.png
create mode 100644 icon/checked.png
create mode 100644 icon/data1.png
create mode 100644 icon/delete.png
create mode 100644 icon/edit.png
create mode 100644 icon/list.png
create mode 100644 icon/profile.png
create mode 100644 index.php
create mode 100644 informasi-hapus-berhasil.php
create mode 100644 konfirmasi-hapus-data.php
create mode 100644 list-database.php
create mode 100644 proses-edit-data.php
create mode 100644 proses-hapus-data.php
create mode 100644 proses-pendaftaran.php
fightercode@CODE-DADU MINGW64 /c/xampp/htdocs/crud.datasiswa (master)
$ git remote add origin https://github.com/codedadu/Project-CRUD-PHP-Data-Siswa.git
fightercode@CODE-DADU MINGW64 /c/xampp/htdocs/crud.datasiswa (master)
$ git push -u origin master
Enumerating objects: 21, done.
Counting objects: 100% (21/21), done.
Delta compression using up to 2 threads
Compressing objects: 100% (21/21), done.
Writing objects: 100% (21/21), 93.08 KiB | 2.07 MiB/s, done.
Total 21 (delta 1), reused 0 (delta 0)
remote: Resolving deltas: 100% (1/1), done.
To https://github.com/codedadu/Project-CRUD-PHP-Data-Siswa.git
* [new branch] master -> master
Branch 'master' set up to track remote branch 'master' from 'origin'.
fightercode@CODE-DADU MINGW64 /c/xampp/htdocs/crud.datasiswa (master)
$ git add .
warning: LF will be replaced by CRLF in form-edit-pendaftar.php.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in form-pendaftaran.php.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in index.php.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in list-database.php.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in proses-pendaftaran.php.
The file will have its original line endings in your working directory
fightercode@CODE-DADU MINGW64 /c/xampp/htdocs/crud.datasiswa (master)
$ git commit -m "Update Project 18 Feb 19 | Add Search Data | Rev 1.2"
[master b7162f3] Update Project 18 Feb 19 | Add Search Data | Rev 1.2
10 files changed, 122 insertions(+), 3 deletions(-)
create mode 100644 cari-data-siswa.php
create mode 100644 icon/add.png
delete mode 100644 icon/data1.png
create mode 100644 icon/list-data.png
delete mode 100644 icon/list.png
delete mode 100644 icon/profile.png
create mode 100644 icon/search.png
create mode 100644 list-request-search.php
fightercode@CODE-DADU MINGW64 /c/xampp/htdocs/crud.datasiswa (master)
$ git push origin master
Enumerating objects: 14, done.
Counting objects: 100% (14/14), done.
Delta compression using up to 2 threads
Compressing objects: 100% (10/10), done.
Writing objects: 100% (10/10), 28.49 KiB | 1.42 MiB/s, done.
Total 10 (delta 3), reused 0 (delta 0)
remote: Resolving deltas: 100% (3/3), completed with 3 local objects.
To https://github.com/codedadu/Project-CRUD-PHP-Data-Siswa.git
128b996..b7162f3 master -> master
fightercode@CODE-DADU MINGW64 /c/xampp/htdocs/crud.datasiswa (master)
$ git add .
warning: LF will be replaced by CRLF in form-edit-pendaftar.php.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in form-pendaftaran.php.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in index.php.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in list-database.php.
The file will have its original line endings in your working directory
fightercode@CODE-DADU MINGW64 /c/xampp/htdocs/crud.datasiswa (master)
$ git commit -m "Update Project 18 Feb 19 | Add sourcecode in some line in file | Rev 1.3"
[master 20717b0] Update Project 18 Feb 19 | Add sourcecode in some line in file | Rev 1.3
4 files changed, 8 insertions(+), 5 deletions(-)
fightercode@CODE-DADU MINGW64 /c/xampp/htdocs/crud.datasiswa (master)
$ git push origin master
Enumerating objects: 11, done.
Counting objects: 100% (11/11), done.
Delta compression using up to 2 threads
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 786 bytes | 262.00 KiB/s, done.
Total 6 (delta 5), reused 0 (delta 0)
remote: Resolving deltas: 100% (5/5), completed with 5 local objects.
To https://github.com/codedadu/Project-CRUD-PHP-Data-Siswa.git
b7162f3..20717b0 master -> master
fightercode@CODE-DADU MINGW64 /c/xampp/htdocs/crud.datasiswa (master)
$ git add .
warning: LF will be replaced by CRLF in index.php.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in konfirmasi-hapus-data.php.
The file will have its original line endings in your working directory
fightercode@CODE-DADU MINGW64 /c/xampp/htdocs/crud.datasiswa (master)
$ git commit -m "Update Project 18 Feb 19 | Add sourcecode in some line in file | Rev 1.4"
[master 698382d] Update Project 18 Feb 19 | Add sourcecode in some line in file | Rev 1.4
3 files changed, 3 insertions(+), 1 deletion(-)
fightercode@CODE-DADU MINGW64 /c/xampp/htdocs/crud.datasiswa (master)
$ git push origin master
Enumerating objects: 9, done.
Counting objects: 100% (9/9), done.
Delta compression using up to 2 threads
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 627 bytes | 125.00 KiB/s, done.
Total 5 (delta 4), reused 0 (delta 0)
remote: Resolving deltas: 100% (4/4), completed with 4 local objects.
To https://github.com/codedadu/Project-CRUD-PHP-Data-Siswa.git
20717b0..698382d master -> master
fightercode@CODE-DADU MINGW64 /c/xampp/htdocs/crud.datasiswa (master)
$
view raw git-commit.txt hosted with ❤ by GitHub