Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git pull --tags origin main remote: Repository not found.

Visit .git folder and open config file for editing. Eg. vim config.
Change your URL from
https://github.com/<username>/<repo_name>.git
to
https://[personal-access-token]@github.com/<username>/<repo_name>.git
Where [personal-access-token] is the PAT hash you've created at github.
Save the config file and now the push should work.
Shortcut:

git remote remove origin
git remote add origin https://[personal-access-token]@github.com/username/repo_name.git
Update
When generating a token, choose No expiration if you want it to work for long time. enter image description here
Comment

PREVIOUS NEXT
Code Example
Shell :: install paddlepaddle 
Shell :: kde 144hz 
Shell :: git log 
Shell :: how to stash specific file in git with message 
Shell :: ssh key github 
Shell :: install mpdf laravel 
Shell :: snap purge 
Shell :: pm2 process disappears after reboot 
Shell :: docker container with powershell 
Shell :: install sdl2 macos 
Shell :: scan and print all keys redis shell 
Shell :: install android studio 
Shell :: git commands download 
Shell :: mac see current path7 
Shell :: rails reset gemfile.lock 
Shell :: yarn react install 
Shell :: magento installer 
Shell :: docker get image size before pull acr 
Shell :: tail last 100 lines 
Shell :: bash remove trailing whitespace from every line 
Shell :: new branch from existing branch 
Shell :: install serverless framework 
Shell :: storage setup in termux 
Shell :: get a loading spinner javascript react 
Shell :: sourcetree permission denied (publickey) github mac 
Shell :: bash how to convert text to lowercase or uppercase 
Shell :: install git bash windows 10 
Shell :: uninstall git 
Shell :: install php freebsd 
Shell :: where is my ubuntu folder located 
ADD CONTENT
Topic
Content
Source link
Name
7+7 =