You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
depot_tools/man/src
Clemens Hammacher 19238fc343 Revert "Fix semantics of git new-branch --upstream"
This reverts commit ba83229a73.

Reason for revert: After mail discussion we came to the conclusion that the old behavior makes more sense.

Original change's description:
> Fix semantics of git new-branch --upstream
> 
> Currently, the "--upstream A" option for new-branch behaves totally
> different than "--upstream_current". While "--upstream A" checks out
> branch A and then creates a new branch which tracks A,
> "--upstream_current" creates a new branch for the current HEAD and sets
> the upstream to the previously checked out branch.
> 
> As the documentation does not mention that any of the options changes
> the currently-checked-out commit (HEAD), this CL changes the semantics
> of "git new-branch --upstream A B" to be identical to "git checkout -b B
> && git branch --set-upstream-to A".
> 
> It also slightly extends the documentation to mention that in any case
> the new branch is based on HEAD.
> 
> R=​iannucci@chromium.org
> 
> Change-Id: Ic335d2caf27cb6afca1b8bc5a008424c0e880fca
> Reviewed-on: https://chromium-review.googlesource.com/c/1350748
> Reviewed-by: Robbie Iannucci <iannucci@chromium.org>
> Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
> Auto-Submit: Clemens Hammacher <clemensh@chromium.org>

TBR=iannucci@chromium.org,tandrii@chromium.org,clemensh@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Change-Id: I7463935af172f0801c7da94d2de106a02fc4c42e
Reviewed-on: https://chromium-review.googlesource.com/c/1362972
Reviewed-by: Sergiy Belozorov <sergiyb@chromium.org>
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
7 years ago
..
.gitignore Move docs folder to man. 11 years ago
_aliases.txt Move docs folder to man. 11 years ago
_footer.txt Move docs folder to man. 11 years ago
_git-cl_desc.helper.txt Add a manual page for git-cl 8 years ago
_git-drover_desc.helper.txt Add stub git-drover documentation. 11 years ago
_git-footers_desc.helper.txt Added git footers tool to parse conventional metadata from git commits 11 years ago
_git-freeze_desc.helper.txt Move docs folder to man. 11 years ago
_git-hyper-blame_desc.helper.txt Added git hyper-blame, a tool that skips unwanted commits in git blame. 10 years ago
_git-map-branches_desc.helper.txt Move docs folder to man. 11 years ago
_git-map_desc.helper.txt Move docs folder to man. 11 years ago
_git-mark-merge-base_desc.helper.txt Move docs folder to man. 11 years ago
_git-nav-downstream_desc.helper.txt Move docs folder to man. 11 years ago
_git-nav-upstream_desc.helper.txt Move docs folder to man. 11 years ago
_git-new-branch_desc.helper.txt Move docs folder to man. 11 years ago
_git-rebase-update_desc.helper.txt Move docs folder to man. 11 years ago
_git-rename-branch_desc.helper.txt Move docs folder to man. 11 years ago
_git-reparent-branch_desc.helper.txt Move docs folder to man. 11 years ago
_git-retry_desc.helper.txt Added 'git-retry' bootstrap 11 years ago
_git-squash-branch_desc.helper.txt Move docs folder to man. 11 years ago
_git-thaw_desc.helper.txt Move docs folder to man. 11 years ago
_git-upstream-diff_desc.helper.txt Move docs folder to man. 11 years ago
_helper_prefix.txt Move docs folder to man. 11 years ago
asciidoc-override.css Move docs folder to man. 11 years ago
common_demo_functions.sh Add a git-drover. 10 years ago
demo_repo.sh Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
depot_tools.txt depot_tools: Run automatic spell-checker. 9 years ago
depot_tools_tutorial.demo.walkthrough.sh Added hyphen-only options 11 years ago
depot_tools_tutorial.txt Modify depot_tools instructions regarding %PATH% 9 years ago
filter_demo_output.py depot_tools: Replace pylint error numbers with symbolic names. 9 years ago
git-cl.txt Add git cl split. 8 years ago
git-drover.demo.1.sh Add a git-drover. 10 years ago
git-drover.demo.2.sh Add 'revert' example to git-drover docs. 11 years ago
git-drover.demo.3.sh Add a git-drover. 10 years ago
git-drover.demo.4.sh Support merging with conflicts with git-drover. 10 years ago
git-drover.demo.common.sh Clear up some git-drover docs confusion. 11 years ago
git-drover.txt Document drover process for re-landing a CL in a release branch. 8 years ago
git-footers.demo.1.sh depot_tools: Run automatic spell-checker. 9 years ago
git-footers.txt Fix typo in git-footers docs. 11 years ago
git-freeze.demo.1.sh Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
git-freeze.txt Make git-freeze bail out if the user has too much untracked data. 9 years ago
git-hyper-blame.demo.1.sh Added git hyper-blame, a tool that skips unwanted commits in git blame. 10 years ago
git-hyper-blame.demo.2.sh Added git hyper-blame, a tool that skips unwanted commits in git blame. 10 years ago
git-hyper-blame.demo.common.sh Added git hyper-blame, a tool that skips unwanted commits in git blame. 10 years ago
git-hyper-blame.txt git hyper-blame: Added automatically ignoring revs from a file. 9 years ago
git-map-branches.demo.1.sh Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
git-map-branches.txt Fix map-branches issues and add coloring for 'branch-heads', 11 years ago
git-map.demo.1.sh Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
git-map.txt Move docs folder to man. 11 years ago
git-mark-merge-base.txt Move docs folder to man. 11 years ago
git-nav-downstream.demo.1.sh Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
git-nav-downstream.txt Move docs folder to man. 11 years ago
git-nav-upstream.demo.1.sh Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
git-nav-upstream.txt Move docs folder to man. 11 years ago
git-new-branch.demo.1.sh Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
git-new-branch.txt Revert "Fix semantics of git new-branch --upstream" 7 years ago
git-rebase-update.txt Add a --keep-going flag for people who run rebase-update infrequently. 10 years ago
git-rename-branch.txt Move docs folder to man. 11 years ago
git-reparent-branch.txt Move docs folder to man. 11 years ago
git-retry.txt Docs: Fix git retry usage flag name. 9 years ago
git-squash-branch.demo.1.sh Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
git-squash-branch.txt Include branch name in git-squash-branch's default message 9 years ago
git-thaw.txt Move docs folder to man. 11 years ago
git-upstream-diff.txt Fix minor regression in git_upstream_diff. 7 years ago
make_docs.sh Fix minor regression in git_upstream_diff. 7 years ago
prep_demo_repo.sh Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago