Skip to content

Instantly share code, notes, and snippets.

@rupeshtiwari
Last active June 19, 2019 19:10
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rupeshtiwari/38fd4effb1bb1c69279325798c0e66ca to your computer and use it in GitHub Desktop.
Save rupeshtiwari/38fd4effb1bb1c69279325798c0e66ca to your computer and use it in GitHub Desktop.
Working with Git

For deleting the remote branch:

git push origin --delete <your_branch>

Override current file with server file

git checkout --theirs package-lock.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment