Lines Matching full:git
40 unblock is to rename (``git -m <old name> <new name>``), and then checkout the branch
58 You can interact with GitHub in several ways: via git command line tools,
60 `GitHub CLI <https://cli.github.com>`_. This guide will cover the git command line
95 your user, it will change the git "remotes" so that "origin" points
107 `built-in support for fixups <https://git-scm.com/docs/git-commit#Documentation/git-commit.txt---fixupamendrewordltcommitgt>`_
108 in git.
112 You can do this manually with an interactive git rebase or with GitHub's
120 git remote -v
170 * `Interactive rebase <https://git-scm.com/docs/git-rebase#_interactive_mode>`_
191 git fetch upstream
192 git rebase upstream/main
199 git add <files with resolved merge conflicts>
200 git rebase --continue
207 git push --force
261 This is also possible with the web interface and the normal git command line
277 git switch -c my_change
283 git clang-format
289 git commit file.cpp
297 git switch my_change
301 git commit file.cpp -m "Code Review adjustments"
304 git clang-format HEAD~
307 git commit -a --amend
311 # fork, use git remote -v to see. Usually origin points to your
313 git push origin my_change
321 git remote add upstream https://github.com/llvm/llvm-project.git
324 git fetch upstream && git rebase -i upstream/main
330 git push origin my_change --force
341 Example Pull Request with git
348 Here is an example of making a PR using git and the GitHub web interface:
362 git switch -c my_change
368 git clang-format
374 git commit file.cpp
378 # fork, use git remote -v to see. Usually origin points to your
380 git push origin my_change
382 Navigate to the URL printed to the console from the git push command in the last step.
389 git switch my_change
393 git commit file.cpp -m "Code Review adjustments"
396 git clang-format HEAD~
399 git commit -a --amend
406 # fork, use git remote -v to see. Usually origin points to your
408 git push origin my_change
416 git remote add upstream https://github.com/llvm/llvm-project.git
419 git fetch upstream && git rebase -i upstream/main
425 git push origin my_change --force
449 This command takes one or more git commit hashes as arguments and will attempt