git 명령어



$ git remote -v
origin git@github.daumkakao.com:dennis-lee/vertx-sample.git (fetch)
origin git@github.daumkakao.com:dennis-lee/vertx-sample.git (push)


$ git log -2
commit 69b4285dd8d1df3debdc24c24a9ee2c22c797931
Author: dennis.lee 
Date:   Mon May 29 18:29:43 2017 +0900

    json prettify

commit de8c8a8f8a55a4b9a4a89d13cfa04e5001004c1e
Author: dennis.lee 
Date:   Mon May 29 18:17:22 2017 +0900

    added BodyHandler



$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
  (use "git add ..." to update what will be committed)
  (use "git checkout -- ..." to discard changes in working directory)

 modified:   pom.xml

Untracked files:
  (use "git add ..." to include in what will be committed)

 src/main/java/net/sample/

no changes added to commit (use "git add" and/or "git commit -a")


$ git branch b1
$ git branch
  b1
* master

$ git checkout -b b2
M pom.xml
Switched to a new branch 'b2'

$ git branch
  b1
* b2
  master


$ git branch --delete b1
Deleted branch b1 (was 69b4285).

$ git branch -d b2
Deleted branch b2 (was 69b4285).

$ git branch
* master

$ git push origin --delete b1
To github.daumkakao.com:dennis-lee/prada.git
 - [deleted]         b1

댓글

이 블로그의 인기 게시물

Install and run an FTP server using Docker

Using the MinIO API via curl

PYTHONPATH, Python 모듈 환경설정

Elasticsearch Ingest API

오늘의 문장2

How to checkout branch of remote git, 깃 리모트 브랜치 체크아웃

Fundamentals of English Grammar #1

To switch to a specific tag in a Git repository

You can use Sublime Text from the command line by utilizing the subl command

티베트-버마어파 와 한어파(중국어파)의 어순 비교