Z.Etc

Git Common Command

Memo
BW Server
Install Maintenance HTTPS Connector
ISM
Install
BWMAgent
Linux Compile

Git 기본 명령어 모음

init to commit

1. git init
    - git init
2. git staging
    - git add -A or .
    - git add {fileName}
3. git commit
    - git commit -m "commit message"

remote setting

-  git remote add origin https://github.com/silentjini/silentjini.github.io.git

push

- git push [-f] origin master

create project from remote

- git clone https://github.com/silentjini/silentjini.github.io.git .

view remote url

- git remote get-url origin

new configuration url

- git remote set-url origin {new remote url}

create branch

- git checkout -b {new branch name}

change branch

- git checkout {target branch}

pull branch

- git pull origin master

merge branch

- git checkout master
- git merge dev

user.name , user.email setting

- git config --global user.name "silentjini"
- git config --global user.email "silentjini@gmail.com"
This page was generated by GitHub Pages.
Author. silentjini