Editing Git pull
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | |||
* https://git-scm.com/docs/git-pull | * https://git-scm.com/docs/git-pull | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[git]] pull | [[git]] pull | ||
Already up to date. | Already up to date. | ||
− | + | git pull -v | |
From github.com:your_account/your_project | From github.com:your_account/your_project | ||
− | = [up to date] | + | = [up to date] main -> origin/main |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Already up to date. | Already up to date. | ||
Line 41: | Line 23: | ||
1 file changed, 1 insertion(+) | 1 file changed, 1 insertion(+) | ||
− | |||
git pull | git pull | ||
Line 65: | Line 46: | ||
fatal: Could not read from remote repository. | fatal: Could not read from remote repository. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | == Related commands == | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | == Related == | ||
* {{git get}} | * {{git get}} | ||
* <code>[[git push]]</code> | * <code>[[git push]]</code> | ||
− | * | + | * [[git merge]] |
* <code>[[git config]] [[pull]].[[rebase]] false </code> # merge (the default strategy) | * <code>[[git config]] [[pull]].[[rebase]] false </code> # merge (the default strategy) | ||
* <code>git config pull.rebase true </code> # rebase | * <code>git config pull.rebase true </code> # rebase | ||
* <code>[[git config]] --global pull.[[ff]] only</code> | * <code>[[git config]] --global pull.[[ff]] only</code> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
* {{git pull}} | * {{git pull}} | ||
+ | * {{git}} | ||
[[Category:git]] | [[Category:git]] |
Advertising: