multi modifs
This commit is contained in:
13
git.txt
13
git.txt
@@ -33,3 +33,16 @@
|
||||
**git stash pop** reapply the stashed changes and removes them from the stash area
|
||||
**git stash apply** reaply the stashed changes and keep them in the stash area
|
||||
**git config --global credential.helper store** store the passwords in .git-credentials in the HOME directory (thanks to global, as opposed to the project directory) so you don't have tot type it each time
|
||||
**git cherry-pick NAME_OF_BRANCH** ti merge a branch into the actual one, but only with the last commit
|
||||
**relier dossier sur serveur en local avec git**
|
||||
**acceder au serveur via ssh :**
|
||||
`ssh hugugtzx@world-370.fr.planethoster.net -p 5022`
|
||||
**initier git dans le repo remote :**
|
||||
`git init` in the repo
|
||||
**dans le dossier local, cloner le repo :**
|
||||
git clone ssh://hugugtzx@world-370.fr.planethoster.net:5022/home/hugugtzx/wordpress.hugulumu.fr
|
||||
**avec :**
|
||||
git clone ssh://username@hostname/path/to/project
|
||||
avec `unsername@hostname` == la commande ssh
|
||||
et `/path/to/project` == la sortie de `pwd` dans le dossier remote
|
||||
|
||||
|
||||
Reference in New Issue
Block a user