Skip to content

Latest commit

 

History

History

git-publish

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

git publish

Publish the current branch

Git alias:

publish = !"git push --set-upstream origin $(git current-branch)"

Publish the current branch by pushing upstream to origin, and setting the current branch to track the upstream branch.

Example:

git publish

Compare: