Skip to content
Snippets Groups Projects
Commit efb062d0 authored by Daniel Duarte's avatar Daniel Duarte
Browse files

update chPick pres1

parent 64e1bae5
No related branches found
No related tags found
No related merge requests found
## Cherry Picking Commits
Let's take our develop branch and say it has a row of commits.
If only certain of these commits are important for the master
branch, using the command
```bash
git cherry-pick ZZ
```
we can take only the relevant changes from develop and merge them
into master.
\ No newline at end of file
## Cherry Picking Workshop
* In your branch, create a reference file
```bash
$ echo "This is the start of a commit chain" > reference.txt
```
* Create two files in the develop branch
```bash
$ echo "This is a commit to keep" > keep.txt
$ echo "Ignore this commit" > ignore.txt
```
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment