Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
a68b4d3b
Commit
a68b4d3b
authored
Sep 13, 2021
by
Priyan Sureshbabu
Committed by
Evan Read
Sep 13, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Doc | Add details about allowed to force push
parent
1068a86a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
doc/topics/git/git_rebase.md
doc/topics/git/git_rebase.md
+7
-2
No files found.
doc/topics/git/git_rebase.md
View file @
a68b4d3b
...
...
@@ -228,8 +228,13 @@ git push --force-with-lease origin my-feature-branch
```
If the branch you want to force-push is
[
protected
](
../../user/project/protected_branches.md
)
,
you can't force-push to it unless you unprotect it first. Then you can
force-push and re-protect it.
you can't force push to it unless you either:
-
Unprotect it.
-
[
Allow force push
](
../../user/project/protected_branches.md#allow-force-push-on-a-protected-branch
)
to it.
Then you can force push and protect it again.
## Merge conflicts
...
...
Write
Preview
Markdown
is supported
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