equal
deleted
inserted
replaced
215 |
215 |
216 or specify concrete remote:: |
216 or specify concrete remote:: |
217 |
217 |
218 $ git pull $REMOTE |
218 $ git pull $REMOTE |
219 $ git pull origin |
219 $ git pull origin |
|
220 |
|
221 Delete local branch:: |
|
222 |
|
223 $ git branch -d $NAME |
|
224 |
|
225 Delete remote branch remotely:: |
|
226 |
|
227 $ git push --delete $REMOTE $BRANCH_NAME |
|
228 $ git push -d $REMOTE $BRANCH_NAME |
|
229 $ git push -d origin $BRANCH_NAME |
220 |
230 |
221 To locally remove pointers to deleted remotely branches:: |
231 To locally remove pointers to deleted remotely branches:: |
222 |
232 |
223 $ git remote update --prune |
233 $ git remote update --prune |
224 $ git remote update --prune origin |
234 $ git remote update --prune origin |