Skip to content

problems pushing my local repository to by remote GitHub #45698

Discussion options

You must be logged in to vote

You can do the following things

1. check you have read-write permission or not

To do so,
1. Go to your repository
2. Click on the setting 
3. Click the "Action" option on the left side bar
4. Scroll down and check if you have the "Read and write permissions" checked under Workflow permissions

2. Initialize git repo in local folder and Push using git

1. Make sure you have git installed in your system
2. open terminal in your project folder and write these commands
3. $ git init
4. $ git add .
5. $ git commit -m "<commit_message>"
6. $ git remote add origin [email protected]:username/new_repo or $ git remote add origin https://github.com/github_username/repo_name.git
7. $ git push -u origin m…

Replies: 9 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@FlashJackFromGungagai
Comment options

@surjendu104
Comment options

@ghost
Comment options

Answer selected by FlashJackFromGungagai
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@surjendu104
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New User Help ❓ New User help
8 participants