quelques ajouts dans git shell et vim
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user