Fichas
git
Fichas del conjunto (9)
- 1compare changes from current and last commitgit diff HEAD^ HEAD
- 2show branches: 1. local 2. local + remote 3. remote1. git branch
2. git -a branch
3. git -r branch - 3Git push: What's the option to tell git push to remeber the parameters, so next time just 'git push' is sufficient?-u
Example: git push -u origin master - 4Commandt to add a remote repository? What's the meaning of the two parameters?git remote add
1st parameter: remote name
2nd parameter: remote URL
Example: git remote add origin https://github... - 5Add all new files that end with .txt to the staging area.git add '*.txt'
- 6Unstage file my.txtgit reset my.txt
- 7Checkout and branch branch 'mybranch' at the same timegit checkout -b mybranch
- 8Remove files that end with '.txt' from disk and stage their removal.git rm '*.txt'
- 9Delete branch 'mybranch'git branch -d mybranch
Información
- Descripción
- Informatik Fichas sobre git, creado por jlab el 27/06/2014.
- Creado por
- jlab · jun 2014
- Actualizado
- 19 feb 2016
- Visitas
- 21
- Valoración