Skip to content

Instantly share code, notes, and snippets.

View Yamakuzure's full-sized avatar
💭
Preparing next elogind release

Sven Eden Yamakuzure

💭
Preparing next elogind release
View GitHub Profile
@myusuf3
myusuf3 / rant.md
Created December 10, 2012 20:38
Code of Conduct: Open Source

I am writing this mostly out of frustration with developers. Hopefully this can shine some rules of conduct when discussing software on a medium like Github.

Being a developer, I understand that there are many things combating beautifully crafted software but thats the beauty of open source:

- Your time. 
- Your release dates. 
- Your requirements.

Another beauty of open source is collaboration and collective effort to craft better software .

@myusuf3
myusuf3 / delete_git_submodule.md
Created November 3, 2014 17:36
How effectively delete a git submodule.

To remove a submodule you need to:

  • Delete the relevant section from the .gitmodules file.
  • Stage the .gitmodules changes git add .gitmodules
  • Delete the relevant section from .git/config.
  • Run git rm --cached path_to_submodule (no trailing slash).
  • Run rm -rf .git/modules/path_to_submodule (no trailing slash).
  • Commit git commit -m "Removed submodule "
  • Delete the now untracked submodule files rm -rf path_to_submodule