-1

Is there a command called git up. I have seen a few other posts where it is used. I am using git version 1.7.9.5 and I get following error when trying to use the command :

git: 'up' is not a git command. See 'git --help'.

Is there something I am missing here?

tinutomson
  • 329
  • 6
  • 12

2 Answers2

4

Those posts may be referring to this tool, whose source code is available here.

mpontillo
  • 13,559
  • 7
  • 62
  • 90
1

See the accepted answer to this question Why am I merging "remote-tracking branch 'origin/develop' into develop"?

Where after a long explanation, it suggests add a "git up" alias:

git config --global alias.up '!git remote update -p; git merge --ff-only @{u}'

So no, it's not a valid command, unless you've installed this alias, which isn't a bad idea.

PeterS6g
  • 122
  • 11
  • 3
    If you believe this question is a duplicate, flag it as such. No need to directly answer. Especially not on a 3 year old question. – mason Sep 15 '17 at 20:52