| Line 45: |
Line 45: |
| | To push all branches: | | To push all branches: |
| | git push --all origin | | git push --all origin |
| | + | |
| | + | === Tags === |
| | + | To fetch tags: |
| | + | git fetch --tags |
| | + | To push tags: |
| | + | git push origin --tags |
| | + | |
| | + | === Full copy of remote repository: === |
| | + | <nowiki>#!/bin/bash |
| | + | for branch in `git branch -r | grep -v HEAD | grep -v master`; do |
| | + | echo ${branch##*/} $branch |
| | + | done |
| | + | git fetch --all |
| | + | git pull -v</nowiki> |
| | | | |
| | == Add .gitignore == | | == Add .gitignore == |