Skip to content

Instantly share code, notes, and snippets.

View subodh-malgonde's full-sized avatar

Subodh Malgonde subodh-malgonde

View GitHub Profile
@subodh-malgonde
subodh-malgonde / delete_git_submodule.md
Last active October 23, 2018 07:17 — forked from myusuf3/delete_git_submodule.md
How effectively delete a git submodule.

To remove a submodule you need to:

# Remove the submodule entry from .git/config
git submodule deinit -f path/to/submodule

# Remove the submodule directory from the superproject's .git/modules directory
rm -rf .git/modules/path/to/submodule

# Remove the entry in .gitmodules and remove the submodule directory located at path/to/submodule
@subodh-malgonde
subodh-malgonde / tmux-cheatsheet.markdown
Created September 24, 2018 09:36 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname