I am trying to push to my branch using personal token but it says Everything up-to-date
which is not true. While being in my branch test_branch
I ran:
git remote set-url origin https://${GIT_TOKEN_TEST}@github.com/user/repository.git
then:
git push -u origin test_branch
Branch 'test_branch' set up to track remote branch 'test_branch' from 'origin'.
Everything up-to-date
what I am doing wrong?
尝试git config user.password YOUR_TOKEN
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.