Skip to content

Instantly share code, notes, and snippets.

@wwex
Last active January 10, 2019 18:34
Show Gist options
  • Save wwex/a1ebdf4d36b37b67e875c33a762cb8e2 to your computer and use it in GitHub Desktop.
Save wwex/a1ebdf4d36b37b67e875c33a762cb8e2 to your computer and use it in GitHub Desktop.
[GIT] #git

git add.
git commit -m "commit info"
git push
GH_TOKEN=token electron-builder build -w -p onTagOrDraft

  1. Checkout on branche which you would like to update.
    $git checkout master
  2. Refresh by using fetch
    $git fetch
  3. Pulling master to be in updated version
    $git pull origin master
  4. Merge master with branch wi want to put on master place
    $git merge branch_name
  5. Push new master branch to remote service
    $git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment