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

add line to make force push

parent 30c608bb
No related branches found
No related tags found
No related merge requests found
...@@ -16,3 +16,4 @@ $ git commit --amend -no-edit ...@@ -16,3 +16,4 @@ $ git commit --amend -no-edit
``` ```
* This will create and commit a new commit with the staged changes added. * This will create and commit a new commit with the staged changes added.
* Force push your changes to develop
...@@ -7,3 +7,10 @@ $ git checkout myBranch ...@@ -7,3 +7,10 @@ $ git checkout myBranch
$ git cherry-pick <commit reference> $ git cherry-pick <commit reference>
``` ```
* Check the log again and see if the changes were applied correctly * Check the log again and see if the changes were applied correctly
* push the changes to the develop branch
```bash
$ git push origin myBranch -f
```
* The `-f` flag is used to force push into develop
\ No newline at end of file
...@@ -19,4 +19,5 @@ $ git log ...@@ -19,4 +19,5 @@ $ git log
```bash ```bash
$ git reset --hard <sha1> $ git reset --hard <sha1>
``` ```
* Check what happened in the log * Check what happened in the log
\ No newline at end of file * Force push your now solitary commit to develop
\ 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