Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git -u flag

The -u option automatically sets that repo as the upstream repo for you.

That way, in the future, Git "knows" where you want to push to and
where you want to pull from, so you can use git pull or git push 
without arguments.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #flag
ADD COMMENT
Topic
Name
9+1 =