Commit ebfb0691 authored by Paddy's avatar Paddy 🐧 Committed by Luca Andrea Fusè

Added minor fixs

parent 7b0d0f94
Pipeline #502 passed with stage
in 1 minute and 41 seconds
...@@ -78,6 +78,10 @@ git submodule add [-b branch_name] repository submodule_directory ...@@ -78,6 +78,10 @@ git submodule add [-b branch_name] repository submodule_directory
git submodule update --init --recursive submodule_directory git submodule update --init --recursive submodule_directory
``` ```
----
# Demo!
--- ---
# Moving changes # Moving changes
...@@ -161,6 +165,10 @@ git stash list ...@@ -161,6 +165,10 @@ git stash list
git stash pop stash@{n} git stash pop stash@{n}
``` ```
----
# Demo!
--- ---
# How I share my changes? # How I share my changes?
...@@ -178,16 +186,25 @@ git stash pop stash@{n} ...@@ -178,16 +186,25 @@ git stash pop stash@{n}
## Format Patch: What can it do? ## Format Patch: What can it do?
The command will create a file with all the commits that differ from the upstream repository. <!-- .element: class="fragment" --> The command will create a file for each commit that differ from the upstream repository. <!-- .element: class="fragment" -->
---- ----
## Format Patch: Syntax ## Format Patch: Syntax
#### Create a patch file
```bash ```bash
git format-patch [options] [branch_upstream] git format-patch [options] [branch_upstream]
``` ```
#### Import a patch
```bash
cat file.patch | git am
```
---- ----
# Demo! # Demo!
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment