Assumptions:

1. you are working of "master" branch
2. you are using the default "origin"

Then

git remote add origin <remote_url>


Then to push, use

git push -u origin master

Where the -u flag informs that it is an up-stream branch.

Other things to check:

Have you SSH key correctly defined?

Can you pull from remote:

git pull <remote_url> ~/tmp/delete_me_later

- frank



On Sunday, 1 September 2019 11:29:40 UTC+10, [email protected] wrote:
>
> Hi there,
>
> I'm trying to set up a repo for the hidden config files because I distro 
> hop a good bit and spend a lot of time setting dotfiles up after each 
> install.
>
> I'm following this tutorial:  
> https://www.atlassian.com/git/tutorials/dotfiles
>
> When I get to the 'config push' command, I get this error:
>
> <cli output>
> fatal: No configured push destination.
> Either specify the URL from the command-line or configure a remote 
> repository using
>
>     git remote add <name> <url>
>
> and then push using the remote name
>
>     git push <name>
> </cli output>
>
> I'm using zsh as my shell and have substituted zshrc for bashrc and .zshrc 
> for .bashrc.  I'm not sure why I'm getting this error.  Help please!
> -- 
> <><  Scott Vargovich  <><
> ------------------------------------------
> OpenPGP Key ID: 29C36884
> ==========================
> Ham Radio Call Sign: KE8CQC
> ==========================
> GMRS Call Sign:  WQXJ287
> ------------------------------------------
>

-- 
-- 
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup
References can be found at: http://goo.gl/anqri
Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules)
--- 
You received this message because you are subscribed to the Google Groups 
"Linux Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/linuxusersgroup/65c19e8d-b8fd-4f10-b1d1-a22d86416382%40googlegroups.com.

Reply via email to