Skip to content

Instantly share code, notes, and snippets.

@rajbharath
Last active April 27, 2016 13:29
Show Gist options
  • Save rajbharath/ac575a81b27aecb69a43 to your computer and use it in GitHub Desktop.
Save rajbharath/ac575a81b27aecb69a43 to your computer and use it in GitHub Desktop.

Deleting Branch in remote and reflect the same in local

git update-ref -d refs/notes/origin/commits

Removing the initial commit from git

git update-ref -d HEAD

Adding sublime as git config editor

git config --global core.editor "subl -n -w"

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