git clone
git flow init -d
--Création d'une fonctionnalité locale
git flow feature start <name>
git add/commit
git flow feature publish <name>
--Tirez la fonction d'origine localement
git flow feature pull origin <name>
git push origin feature/<name>
--Rebase la fonctionnalité d'origine localement
git pull --rebase origin feature/<name>
--Rebase le développement original localement
git pull --rebase origin develop
git flow feature finish <name>
git push origin develop
git push origin :feature/<name>
[export]
git archive develop | tar -x -C /xxxxx
git reset --soft 1a01328135f2c0eed8f0fe55a357096853820761
git reset --hard 1a01328135f2c0eed8f0fe55a357096853820761
[diff]
git diff br1:foo/bar.txt br2:hoge/fuga.txt
git log services.defs #Reportez-vous au journal de validation d'un fichier spécifique
git diff 6cd3311982b6622a292a43eb15700cd653b7b3ad services.defs #Spécifiez le hachage de validation que vous souhaitez comparer
git show HEAD^:config/defs/services.defs #Un avant
git show HEAD^^:config/defs/services.defs #il y a 2 ans
[rollback]
git checkout 6cd3311982b6622a292a43eb15700cd653b7b3ad services.defs
git checkout HEAD^^ services.defs
Recommended Posts