Changes

Jump to navigation Jump to search
286 bytes added ,  11:51, 26 January 2016
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 ==

Navigation menu