Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
shail
allworldit
Commits
8d5756e7
Commit
8d5756e7
authored
Apr 29, 2014
by
Nigel Kukard
Browse files
Added <filename> cleaned up 2 lines of syntax
parent
6459e3ed
Changes
1
Show whitespace changes
Inline
Side-by-side
Using GitLab.md
View file @
8d5756e7
...
...
@@ -53,7 +53,7 @@ If you are 100% happy, commit your chagnes as usual, making sure of course all y
You can add hunk by hunk, or group of hungs by group of hunks using the following...
```
sh
git add
--patch
git add
--patch
<filename>
```
Type ? at the prompt to get further help. The (e)dit option is VERY useful to pull in only changes that are surgical.
...
...
@@ -62,7 +62,7 @@ Type ? at the prompt to get further help. The (e)dit option is VERY useful to pu
If you mistakenly git add --patch a wrong hunk or need to ammend it use the following...
```
sh
git reset
--patch
git reset
--patch
<filename>
```
## Submitting Your Changes
...
...
@@ -140,3 +140,4 @@ git merge upstream/master
git checkout master
-b
yourbranchname
git push origin yourbranchname:descriptive-name
```
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment