Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git push default

Possible values: nothing, matching, upstream, current and simple.
Since Git 2.0, simple became the default (replacing matching)

To view the current configuration:
git config --global push.default

To set a new configuration, for example current:
git config --global push.default current
Comment

git push default

# Configure git to always push to "origin master"
git push -u origin master
Comment

PREVIOUS NEXT
Code Example
Shell :: awk tab delimited 
Shell :: how to install amplify cli to your react project 
Shell :: get library list linux 
Shell :: cht sht zsh completion 
Shell :: kubernetes command kubectl 
Shell :: Flutter plugin not installed; this adds Flutter specific functionality. 
Shell :: screen scroll up linux 
Shell :: git create local branch 
Shell :: linux change user and group 
Shell :: upload directory ssh to remote 
Shell :: What Are The Correct Permissions For ~/.ssh Directory? 
Shell :: linux keyboard layout cli 
Shell :: Not pushed + most recent commit 
Shell :: how to delay the start of a program linux 
Shell :: jenkins installation on ubuntu 
Shell :: strapi command to generate custom route 
Shell :: how to git push in jenkins pipeline 
Shell :: nginx disable site 
Shell :: handle git diverged 
Shell :: Failed to connect to repository : Error performing git command: git ls-remote -h 
Shell :: add group docker compose 
Shell :: install insomnia in ubuntu 
Shell :: sed remove all line breaks 
Shell :: How to Block Ports in UFW Ubuntu Firewall 
Shell :: restart bind centos 8 
Shell :: visual studio export installed nuget pacjkages 
Shell :: create zip file command line 
Shell :: awk if 
Shell :: install vue native globally 
Shell :: powershell -file 
ADD CONTENT
Topic
Content
Source link
Name
7+3 =