Skip to content

Instantly share code, notes, and snippets.

View dongb94's full-sized avatar

MagicDog dongb94

View GitHub Profile
@dongb94
dongb94 / git checkout
Last active September 16, 2018 09:16
Git Commend
# git Document
https://git-scm.com/docs/git-checkout
# SYNOPSIS
git checkout [-q] [-f] [-m] [<branch>]
git checkout [-q] [-f] [-m] --detach [<branch>]
git checkout [-q] [-f] [-m] [--detach] <commit>
git checkout [-q] [-f] [-m] [[-b|-B|--orphan] <new_branch>] [<start_point>]
git checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] [--] <paths>…​
git checkout [<tree-ish>] [--] <pathspec>…​
<?php
//PHP 파일의 절대경로를 가져오는 코드
$file_server_path = realpath(_);
echo ($path);
$path = str_replace(basename(__FILE__), "", $file_server_path);
echo ($path);
?>
@dongb94
dongb94 / Memo
Created September 5, 2018 07:39
google FireBase (server)