error: src refspec master does not match any.
This is a topic that many people are looking for. https://granthamandira.org/ is a channel providing useful information about learning, life, digital marketing and online courses …. it will help you have an overview and solid multi-faceted knowledge . Today, https://granthamandira.org/ would like to introduce to you HOW TO FIX: error: failed to push some refs to | Create Remote GitHub Repository in 2 Minutes. Following along are instructions in the video below:
so say you have some files on your computer and youre working on a website and you want to put it on github well you make an account you do new repository lets name it and you dont click this because you want to import an existing repository from your local machine to this remote repository that were creating so next you want to open up your command line interface
Im using git bash but you can also use CMD this powershell that comes with Windows but Im assuming that anyone watching this video has installed get so that includes get bash and if youre on Mac OS you can use the terminal but you want to change the directory to this directory that has your files then you go there and you want to run git init and this
creates an empty git repository in this directory and next you want to run this command and this creates a remote repository named origin and the URL is this which is this repository mote repository and you can check your remote servers by doing get remote either we have origin the next you want to run this command and some but sometimes youll get this error and thats because you
havent added your file so you wanted to get a – a and the – a just means all files if youre on a Windows computer sometimes itll give you this warning and then after you do that you want to commit these files you just add in the – gem means you want to add a message and its to initial commit and first enter and then whats that
done loading we can run this command again and just press up and the command line interface to run through your commands youve ready run and then press ENTER and thats done we can refresh this page and youll see that the git repository thats on your local machine is connected to the remote repository which is just a version of your local files on your computer and there you go
Pokemon, FaceCam, Stream, Commentary, Funny, MigetBean, Miget, Bean, Live, Overwatch, PUBG, Hearthstone, git, github, remote, repository, local, fast easy
Thank you for watching all the articles on the topic HOW TO FIX: error: failed to push some refs to | Create Remote GitHub Repository in 2 Minutes. All shares of https://granthamandira.org/ are very good. We hope you are satisfied with the article. For any questions, please leave a comment below. Hopefully you guys support our website even more.