Categories

  • AngularJS (43)
  • AWS (4)
  • Continuous Integration (1)
  • CSS (24)
  • D3 (3)
  • Data Structures & Algorithms (1)
  • Database (1)
  • Deployment (1)
  • Docker (1)
  • Flask (3)
  • Fun Projects (8)
  • Git (10)
  • IOS (1)
  • JavaScript (62)
  • Kendo (2)
  • Marketing (2)
  • NextJS (6)
  • NodeJS (4)
  • OS X (19)
  • Performance (8)
  • PHP (4)
  • Python (6)
  • Rails (14)
  • React Native (2)
  • ReactJS (12)
  • Recommendations (8)
  • Ruby (6)
  • SICP (3)
  • Testing (8)
  • Thoughts (33)
  • THREE.js (1)
  • Tools (14)
  • TypeScript (4)
  • Ubuntu (7)
  • Uncategorized (10)
  • VIM (4)
  • VSCode (2)
  • Webpack (4)

Archives

  • April 2021
  • February 2021
  • January 2021
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • July 2019
  • June 2019
  • April 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • July 2018
  • June 2018
  • May 2018
  • February 2018
  • January 2018
  • December 2017
  • September 2017
  • August 2017
  • July 2017
  • June 2017
  • May 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017
  • November 2016
  • October 2016
  • September 2016
  • July 2016
  • June 2016
  • May 2016
  • April 2016
  • March 2016
  • January 2016
  • December 2015
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • April 2015
  • March 2015
  • February 2015
  • January 2015
  • December 2014
  • November 2014
  • October 2014
  • September 2014
  • August 2014
  • July 2014
  • June 2014
  • May 2014
  • April 2014
  • March 2014
  • February 2014
  • January 2014
  • September 2013

Tags

AngularJS AWS Book Charles Chrome CoffeeScript Compatibility CSS DigitalOcean Flask Fun Future Future Reference Git Github JavaScript jQuery Knowledge Learn Less Map Material Design NextJS NodeJS OS X parallax Performance PHP Programmers Proxy Psychology Python Rails ReactJS Reference RoR Ruby Ruby on Rails Self-teach Snippet The Art of Learning Three.js Vim Webpack Wordpress

Most Helpful Posts

  • Angular Email Validation with Ng-Pattern (2592)
  • How to: Prevent Body From Scrolling When Overlay Is On (2224)
  • Reference: $state.go() with Parameter (1593)
  • Angular: All About Input Type="File" (1526)
  • Protractor Locators (Selectors) (1058)
  • How To Remove All NPM Proxy Settings (790)
  • Cannot read property 'replace' of undefined in jQuery (560)
  • Object.prototype.toString.call()? (522)
  • Disable Popup "Please Fill In this Field" (516)
  • How to: Prevent Body From Scrolling (437)
  • React: How To Prompt User of Unsaved Data before Leaving Site (405)
  • Angular Directive: Click Elsewhere? (402)
  • Render Post Processing with Three.js (285)
  • Common Errors with NanoScroller (229)
  • Angular: Requiring ng-model as Component (217)

Total quant of thanks: 16563

Newsletter

Subscribe to get interesting updates:

  • Email
  • Twitter
  • Google Plus
  • LinkedIn
  • Instagram
  • GitHub
  • Widgets
  • Connect
  • Search

Have Fun Learning

Passionately Curious

Menu

Skip to content
  • Portfolio
  • Recommendations
  • Archive
  • About
  • 日志

Category Archives: Git

Git

To proxy local ssh authentications onto remote

September 11, 2020luciaReference Leave a comment
$ ssh user@test.com -A

Ref: http://man.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man1/ssh.1

Standard
Git

Git: Clean Up Branches

May 7, 2020lucia Leave a comment

Handy snippet to run, to delete all but the current branch:

$ git branch | xargs git branch -D
$ git remote prune origin
Standard
Git

“Error authenticating user: Must specify two-factor authentication OTP code” with NPM Login

February 25, 2020lucia Leave a comment

If 2-factor-authentication is enabled, an access token is needed in the place of password. Create one according to the steps here with the access for:

  • read:packages
  • write:packages
  • delete:packages
Standard
Git

Git: Why Updating Submodules Rewinds Change

December 13, 2019luciaGit Submodule Leave a comment

When you run git submodule update --remote in a container repo, you might notice that it says:

Submodule funny_module bf722acd..02dc481d (rewind):
  < That awful bugfix

Why the rewind?!

Continue reading →
Standard
Git

How to Merge When master is Not The Base Branch

November 27, 2019luciaGit, Github, Pull Requests Leave a comment

If the base branch for your repository is not the default master, you might have encountered this bizarre Pull Request problem when you try to deploy from base branch onto master:

Continue reading →
Standard
Git

Interactive Git Commands Cheatsheet

June 7, 2019lucia Leave a comment

I found this link in one of StackOverflow answers–very useful in understanding how git works.

http://ndpsoftware.com/git-cheatsheet.html

Standard
Git

Git Submodule Life-Saving Setup

June 6, 2019luciaGit, Git Submodule Leave a comment

What’s the use of git submodules? It’s mostly useful when you want to work on the code in both the main repo and the sub repo at the same time. Otherwise, a normal dependency management system would suffice.

To have submodules safely set up so that you run into walls less often, do the following:

Continue reading →
Standard
Git, Tools, Ubuntu

How to Auto-Deploy to Server on Git Push

December 7, 2018luciaDigitalOcean, Git, Gitlab, Gitlab-CI, Gitlab-runner Leave a comment

Goal: 

  • If git push on master branch
  • Then sync files onto server and deploy (e.g., running yarn run build or any other scripts)

I’m on DigitalOcean’s server, but this works on any self hosted servers.

Continue reading →
Standard
Git

How To Discard All Changes in Git

January 22, 2018lucia Leave a comment
$ git stash -u

Continue reading →

Standard
Git, Tools

Reference: How to Git Stash

January 5, 2018luciaGit, Reference, Stash

To save the uncommitted changes:

# Either without a name
$ git stash

# Or with a stash name:
$ git stash save funny-stash

Continue reading →

Standard
Leonpharmacy.com | Theme: Ryu by WordPress.com.