This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://username:'password'@github.com/username/repo.git |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
for BRANCH in br1 br2 | |
do | |
git checkout $BRANCH | |
git cherry-pick master | |
git push origin $BRANCH | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://blog.jayfields.com/2008/02/using-patch-as-subversion-stash.html | |
to make a stash: | |
1) add all new files | |
2) create a patch: | |
svn diff > patch_name.patch | |
3) revert all changes | |
svn revert -R . | |
to unstash apply a patch: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Самый основной метод: | |
1. Форкаете репозиторий github.com/user1/project, получаете github.com/you/project | |
2. Уже форкнутый репозиторий сливаете себе на комп: | |
git clone git@github.com:/you/project project | |
3. Создаёте отсылку на «родительский» репозитарий, например как на upstream | |
git remote add git@github.com:/user1/project upstream, чтобы потом сливать изменения с «родителя» себе git pull | |
http://habrahabr.ru/post/125799/#comment_4147240 | |
upstream master | |
4. Создаёте новую ветку |
NewerOlder