About 306,000 results
Open links in new tab
  1. git - Push existing project into Github - Stack Overflow

    How I can push this project into Github's repository? I tried using this steps: I created empty repository on GitHub. I run git-bash and typed git init, so inside project root appeared .git folder. I added some …

  2. How to add a new project to Github using VS Code

    I had to use --force in the push command because I selected a LICENSE on GitHub while creating the new repo and my local Git refused to merge the changes.

  3. How do I do an initial push to a remote repository with Git?

    I ran that command, but a "git push origin master" still results in a "failed to push some refs". I tried doing a "git pull origin master" and received a "couldn't find remote ref master".

  4. How to push a new code to an existing git repository in github

    15 I need to push my modified new java code to my old git repository in github but I do not have old code in my pc. How to do that? I had push a code before my github account before. Now I don't have that …

  5. git - How to add my current project to an already existing GitHub ...

    2 Go to the directory where you code is, git init git add . git commit -m "Your message" Now add your address go to your git hub copy the clone address, git remote add origin <remote repository URL> …

  6. How do I push to GitHub under a different username?

    A friend and myself are sharing my computer. I've made pushes to GitHub using the git bash shell on Windows 7. Now we're in a different project on that computer and I need her to push to her accoun...

  7. How to push changes to github without pull - Stack Overflow

    You can do a forced push. git push -f origin branch_name The forced push will erase all commit history of the remote repository's branch, and replace it to your branch. Check the answers for doing forced …

  8. github - Pushing to Git returning Error Code 403 fatal: HTTP request ...

    Sep 16, 2011 · I was able to clone a copy of this repo over HTTPS authenticated. I've made some commits and want to push back out to the GitHub server. Using Cygwin on Windows 7 x64. …

  9. git - I want to push my code to github on the main branch not on the ...

    Jun 14, 2021 · I have a folder with code files. I wanted to push them to github using git. This is what I've done: I created a new repository on github. I initialized a git repo in my local directory. I staged...

  10. How to publish an organization repository in Github using VSCode

    May 12, 2021 · By default, GitHub allows you to publish to your own public or private repositories. To publish to an organization repository, follow the steps below - Create an organization repository in …