Flashcards
GIT flows, personal working GIT Branch
Flashcards do conjunto (17)
- 1GIT Branchbranch represents an independent line of development. You can think of them as a way to request brand new working directory, staging area, and project history
- 2history of the projectNew commits are recorded in the history of the current branch, which results in a form in the
- 3What is GIT workflow?is defined steps you need to follow to safely place your code in the remote rep
- 4⦁ Git workflow AKAbranching strategy
- 5⦁ git add.this command collects all changes you made in the code
- 6⦁ git commit -m "Your meaningful commit message"this command creates a local version
- 7⦁ git pull origin masteralways make sure you get your latest code from GitHub, before placing your own code there
- 8⦁ git push origin masternow you placed your code to the same master branch of GitHub
- 9⦁ Branchindependent copy of project, located in some space. Space has a name. Default space is master - both on GitHub and your local project!
- 10⦁ Origin- name of remote repository we will use (It is a Default name as well!)
- 11⦁ LocalYour local computer project. Fridge = as a branch. Cupcakes are like code of the project. YOU ARE WORKING HERE
- 12⦁ Remote (or Origin) GITHUB: Your remote project (on GitHub). As you see, you can have branches from LOCAL, but some branches can be LOCAL, if you don't put them in ORIGIN.
- 13⦁ GIT Statusspecific git command, that shows, what branch we are located at, and do we have any changes:
- 14Your LOCAL master branch is identical toto master of your origin (remote) repository
- 15Your Version of test project is cleanyou don't have any changes
- 16git checkout-b Vadym_branch⦁ Execute command with the name of your branch ( I put my name as example, type in yours)
- 17git push origin Vadym_BranchExecute command which places your named branch on master
Informações
- Descrição
- QA Engineer QA- Automation FlashCards sobre GIT flows, personal working GIT Branch, criado por Mircea Manu em 09-12-2021.
- Criado por
- Mircea Manu
- Visualizações
- 0
- Avaliação