Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

These are a list of some common GIT usage notes the developers of FreePBX have come across.

Remove Merged Local Branches

Code Block
git branch --merged | egrep -v "(^\*|master|release|dev)" | xargs git branch -d


Remove Merged Remote Branches

Code Block
git branch -r --merged | egrep -v "(^\*|master|release|dev)" | sed 's/origin\///' | xargs -n 1 git push --delete origin
git remote prune origin

Submodule Updating Recursive:

...