git svn show-ignore > .gitignore
Selectionner le code
#!/bin/sh
mkdir log
touch log/.gitkeep
git add log/.gitkeep
echo "log/*" >> .gitignore
git add .gitignore
git ci -m "Added empty log/ folder"
Selectionner le code
git log --pretty=format:'%h' -n 1
Selectionner le code
git archive --format zip --output /full/path/to/zipfile.zip master
Selectionner le code
git remote set-url --push origin no_push
Selectionner le code