-
Notifications
You must be signed in to change notification settings - Fork 0
GitPull
Damian edited this page Feb 24, 2020
·
3 revisions
Performs git pull
from origin
by default. You may also supply another remote if different.
If your remote has unrelated histories you may use the -u
switch to resolve this.
GitPull ; Pulls current branch defaulting remote to "origin"
GitPull "NotOrigin" ; Pulls current branch from specified remote
GitPull -u ; Pull merging unrelated histories
- Pulls branch and sets tracking so you can simply execute,
git push
next time GitPull "NotOrigin" -track - Story #18 - After pulling check for "fatal: refusing to merge unrelated histories" and suggest '-u' switch.
Git Commands
DevOps Helpers