quelques ajouts dans git shell et vim
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
startup_message off
|
||||
|
||||
chdir /home/simplonco/Bureau/
|
||||
chdir $HOME/
|
||||
|
||||
#pour afficher une ligne avec des infos
|
||||
hardstatus on
|
||||
|
||||
4
git.txt
4
git.txt
@@ -10,7 +10,8 @@
|
||||
**git push** pushes the modifications to the distant repository github (remote)
|
||||
**git remote -v** lists all distant origins, remotes, your local git project knows (in other words it lists a git project's remotes)
|
||||
**git remote show origin** show the state of the remote and its branches
|
||||
**git remote rm remote_name** supprimer un remote
|
||||
**git remote rm remote_name** delete a remote
|
||||
**git remote set-url remote_name new_name** change remote name
|
||||
**git pull** pull any changes from the remote
|
||||
**git clone** creates a local copy of a remote
|
||||
**git branch** lists all a git project's branches
|
||||
@@ -31,3 +32,4 @@
|
||||
**git stash** saves the uncommited changes besides for later use
|
||||
**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
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
**fg** relance le dernier travail mis sur pause
|
||||
**mkdir file{1..10}** creer 10 dossiers nommés de file1 à file10
|
||||
**pwd** print working directory
|
||||
**xdg-open .** open working directory
|
||||
|
||||
**pdftotext** transforme un pdf en un fichier texte
|
||||
**^** designe le debut d'une ligne
|
||||
|
||||
6
vim.txt
6
vim.txt
@@ -1,6 +1,10 @@
|
||||
/MODE INSERTION/
|
||||
**i** mode insertion (écrire du texte)
|
||||
**i** mode insertion avant le curseur
|
||||
**I** mode insertion au debut de la ligne
|
||||
**a** mode insertion apres le curseur
|
||||
**A** mode insertion a la fin de la ligne
|
||||
**o** mode insertion a la ligne
|
||||
**O** mode insertion a la ligne du dessus
|
||||
**3iTEXT** ecrira trois fois TEXT
|
||||
**ctrl r** * colle depuis le clipboard en mode insertion
|
||||
|
||||
|
||||
Reference in New Issue
Block a user