mirror of
https://github.com/Fechin/reference.git
synced 2026-11-20 21:23:11 +03:00
Merge pull request #122 from deividgp/main
--ff-only added and comments fixed
This commit is contained in:
1 file changed
+4
-1
@@ -150,6 +150,7 @@ $ git tag my_tag
|
||||
```
|
||||
|
||||
|
||||
|
||||
### Observe your Repository
|
||||
Show the commit history for the currently active branch
|
||||
``` shell script
|
||||
@@ -184,8 +185,10 @@ $ git fetch [alias]
|
||||
Merge a remote branch into your current branch to bring it up to date
|
||||
``` shell script
|
||||
$ git merge [alias]/[branch]
|
||||
// No fast-forward
|
||||
# No fast-forward
|
||||
$ git merge --no-ff [alias]/[branch]
|
||||
# Only fast-forward
|
||||
$ git merge --ff-only [alias]/[branch]
|
||||
```
|
||||
|
||||
Transmit local branch commits to the remote repository branch
|
||||
|
||||
Reference in new issue
Block a user