Giter VIP home page Giter VIP logo

git-addon's Introduction

golang 으로 개발해보는 git addon

1. git user.name, user.email 설정 변경

  • 미리 환경변수에 사용할 user.name, user.email 정보를 등록해두고 user 정보를 간단하게 스위치해주는 기능을 제공
  • 환경변수 추가
    • GIT_NAME_{domain} / GIT_EMAIL_{domain} 환경변수를 추가
    • GIT_NAME_google=JaekwonHa
    • GIT_EMAIL_google=[email protected]
  • build 후 binary 경로 등록
    • make user
    • cp bin/gituser /usr/local/bin/gituser
    • gituser google

2. stash 수행 후에 checkout, pull

  • init
    • only stash, pull
  • init -d
    • develop branch로 이동
  • init -b feature/issue-1
    • 특정 branch로 이동

init -> stash, checkout, pull

  1. git 명령어 설치되어 있는지 확인
  2. .git 폴더가 있는지 확인
  3. stash 수행
  4. checkout 수행
  5. pull 수행

3. Merge Commit 에서 사용할 Commit log 생성기

  • git log format pretty 자기 브런치꺼 까지만

git-addon's People

Contributors

jaekwonha avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.